Sha256: 560de98ce9bb296be5a0064dbf54a01b52de221bbff39edf1292ff05f0a648b4

Contents?: true

Size: 555 Bytes

Versions: 2

Compression:

Stored size: 555 Bytes

Contents

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::ServiceAccountsAPI.new
service_account_id = "00000000-0000-1234-0000-000000000000" # String | The ID of the service account.
app_key_id = "app_key_id_example" # String | The ID of the application key.

begin
  # Delete an application key for this service account
  api_instance.delete_service_account_application_key(service_account_id, app_key_id)
rescue DatadogAPIClient::V2::APIError => e
  puts "Error when calling ServiceAccountsAPI->delete_service_account_application_key: #{e}"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
datadog_api_client-1.8.0 examples/generated/v2/service-accounts/DeleteServiceAccountApplicationKey.rb
datadog_api_client-1.7.0 examples/generated/v2/service-accounts/DeleteServiceAccountApplicationKey.rb