Sha256: 2d9e8ad4bc1eb67b3fa2dba7bd27b88d5875b9b437aa7c49dd423b3f36ad82db

Contents?: true

Size: 414 Bytes

Versions: 1

Compression:

Stored size: 414 Bytes

Contents

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::KeyManagementAPI.new
key = "key_example" # String | The specific API key you are working with.
body = DatadogAPIClient::V1::ApiKey.new # ApiKey |

begin
  # Edit an API key
  result = api_instance.update_api_key(key, body)
  p result
rescue DatadogAPIClient::V1::APIError => e
  puts "Error when calling KeyManagementAPI->update_api_key: #{e}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-1.7.0 examples/generated/v1/key-management/UpdateApiKey.rb