Method: folders.approvalRequests.dismiss

Dismisses a request. Returns the updated ApprovalRequest.

NOTE: When a request is dismissed, it is considered ignored. Dismissing a request does not prevent access granted by other Access Approval requests.

Returns NOT_FOUND if the request does not exist.

Returns FAILED_PRECONDITION if the request exists but is not in a pending state.

HTTP request

POST https://accessapproval.googleapis.com/v1/{name=folders/*/approvalRequests/*}:dismiss

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Name of the ApprovalRequest to dismiss.

Authorization requires the following IAM permission on the specified resource name:

  • accessapproval.requests.dismiss

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.