Sha256: 6ebc575fd886bbdc8674ff0a4b3592924a0046d88512362a23ab79025489e8e1
Contents?: true
Size: 639 Bytes
Versions: 22
Compression:
Stored size: 639 Bytes
Contents
# Update Fastly account returns "OK" response require "datadog_api_client" api_instance = DatadogAPIClient::V2::FastlyIntegrationAPI.new # there is a valid "fastly_account" in the system FASTLY_ACCOUNT_DATA_ID = ENV["FASTLY_ACCOUNT_DATA_ID"] body = DatadogAPIClient::V2::FastlyAccountUpdateRequest.new({ data: DatadogAPIClient::V2::FastlyAccountUpdateRequestData.new({ attributes: DatadogAPIClient::V2::FastlyAccountUpdateRequestAttributes.new({ api_key: "update-secret", }), type: DatadogAPIClient::V2::FastlyAccountType::FASTLY_ACCOUNTS, }), }) p api_instance.update_fastly_account(FASTLY_ACCOUNT_DATA_ID, body)
Version data entries
22 entries across 22 versions & 1 rubygems