Method: organizations.locations.principalAccessBoundaryPolicies.delete

Deletes a principal access boundary policy.

HTTP request

DELETE https://iam.googleapis.com/v3beta/{name=organizations/*/locations/*/principalAccessBoundaryPolicies/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the principal access boundary policy to delete.

Format: organizations/{organizationId}/locations/{location}/principalAccessBoundaryPolicies/{principalAccessBoundaryPolicyId}

Query parameters

Parameters
etag

string

Optional. The etag of the principal access boundary policy. If this is provided, it must match the server's etag.

validateOnly

boolean

Optional. If set, validate the request and preview the deletion, but do not actually post it.

force

boolean

Optional. If set to true, the request will force the deletion of the Policy even if the Policy references PolicyBindings.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • iam.principalaccessboundarypolicies.delete

For more information, see the IAM documentation.