Sha256: c2710fbc02a5a0b229b13803afbbf045033268357192767c52f54dfb686f6c57

Contents?: true

Size: 340 Bytes

Versions: 1

Compression:

Stored size: 340 Bytes

Contents

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::KeyManagementAPI.new
api_key_id = "api_key_id_example" # String | The ID of the API key.

begin
  # Delete an API key
  api_instance.delete_api_key(api_key_id)
rescue DatadogAPIClient::V2::APIError => e
  puts "Error when calling KeyManagementAPI->delete_api_key: #{e}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-1.7.0 examples/generated/v2/key-management/DeleteApiKey.rb