Sha256: e65c72ebec006777b3ab985d71588ed4b1ec4ad29beefc6e3827ce971973349e
Contents?: true
Size: 831 Bytes
Versions: 2
Compression:
Stored size: 831 Bytes
Contents
# Update api handle returns "OK" response require "datadog_api_client" api_instance = DatadogAPIClient::V2::MicrosoftTeamsIntegrationAPI.new # there is a valid "tenant_based_handle" in the system TENANT_BASED_HANDLE_DATA_ATTRIBUTES_NAME = ENV["TENANT_BASED_HANDLE_DATA_ATTRIBUTES_NAME"] TENANT_BASED_HANDLE_DATA_ID = ENV["TENANT_BASED_HANDLE_DATA_ID"] body = DatadogAPIClient::V2::MicrosoftTeamsUpdateTenantBasedHandleRequest.new({ data: DatadogAPIClient::V2::MicrosoftTeamsUpdateTenantBasedHandleRequestData.new({ attributes: DatadogAPIClient::V2::MicrosoftTeamsTenantBasedHandleAttributes.new({ name: "fake-handle-name--updated", }), type: DatadogAPIClient::V2::MicrosoftTeamsTenantBasedHandleType::TENANT_BASED_HANDLE, }), }) p api_instance.update_tenant_based_handle(TENANT_BASED_HANDLE_DATA_ID, body)
Version data entries
2 entries across 2 versions & 1 rubygems