Skip to main content

Remove Grant

Request

Allows a user to remove an external grant from an access policy including a managed policy. Access to this operation is controlled by the access policy being accessed.

The auth token's access policy must allow action:use/removeGrant.

Security
bearerAuth
Path
grantIdstring(GrantId)^grant:[A-Z0-9]{13}$required

Uniquely identifies an access policy grant. Callers may URL encode this value.

Example:grant:ABCDEFGHIJ123
projectIdProjectId (string) or * (string)required
One of:

Globally unique identifier of a project.

string(ProjectId)
accessPolicyId(AccessPolicyId (string) or ManagedPolicyId (string)) or Ern (string)required
One of:

Callers may URL encode this value. When passing an ERN, callers must URL encode this value.

One of:

Uniquely identifies an access policy within a project.

string(AccessPolicyId)
Payload
// No request payload

Responses

Success

Response
No content
Was this page helpful?