Sha256: 94d7eced0292552857b72510416f9bc8a5a9b859615d1c921192f4bf65fab577

Contents?: true

Size: 403 Bytes

Versions: 9

Compression:

Stored size: 403 Bytes

Contents

# Delete an API returns "API deleted successfully" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
  config.unstable_operations["v2.delete_open_api".to_sym] = true
end
api_instance = DatadogAPIClient::V2::APIManagementAPI.new

# there is a valid "managed_api" in the system
MANAGED_API_DATA_ID = ENV["MANAGED_API_DATA_ID"]
api_instance.delete_open_api(MANAGED_API_DATA_ID)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
datadog_api_client-2.28.1 examples/v2/api-management/DeleteOpenAPI.rb
datadog_api_client-2.27.1 examples/v2/api-management/DeleteOpenAPI.rb
datadog_api_client-2.26.1 examples/v2/api-management/DeleteOpenAPI.rb
datadog_api_client-2.26.0 examples/v2/api-management/DeleteOpenAPI.rb
datadog_api_client-2.25.0 examples/v2/api-management/DeleteOpenAPI.rb
datadog_api_client-2.24.0 examples/v2/api-management/DeleteOpenAPI.rb
datadog_api_client-2.22.0 examples/v2/api-management/DeleteOpenAPI.rb
datadog_api_client-2.21.0 examples/v2/api-management/DeleteOpenAPI.rb
datadog_api_client-2.20.0 examples/v2/api-management/DeleteOpenAPI.rb