Sha256: 8b9dd718ed050b6334e86118f330b66dcba6db282f7f29deb62a1559de00cc98

Contents?: true

Size: 449 Bytes

Versions: 1

Compression:

Stored size: 449 Bytes

Contents

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::LogsArchivesAPI.new
archive_id = "archive_id_example" # String | The ID of the archive.
body = DatadogAPIClient::V2::RelationshipToRole.new # RelationshipToRole |

begin
  # Revoke role from an archive
  api_instance.remove_role_from_archive(archive_id, body)
rescue DatadogAPIClient::V2::APIError => e
  puts "Error when calling LogsArchivesAPI->remove_role_from_archive: #{e}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-1.7.0 examples/generated/v2/logs-archives/RemoveRoleFromArchive.rb