deleteDomainAccessGrantForOrganization
abstract suspend fun deleteDomainAccessGrantForOrganization(input: DeleteDomainAccessGrantForOrganizationRequest): DeleteDomainAccessGrantForOrganizationResponse
Removes an existing organization access grant, revoking the access it granted. A service-managed grant cannot be deleted.
Samples
// The following example deletes an organization domain access grant by ID, revoking the access it
// granted. Payloads are shown as JSON on the wire they are CBOR encoded.
val resp = cloudWatchOmniClient.deleteDomainAccessGrantForOrganization {
grantId = "7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d"
}Content copied to clipboard