Method: organizations.approvalRequests.dismiss

Dismisses a request. Returns the updated ApprovalRequest.

NOTE: This does not deny access to the resource if another request has been made and approved. It is equivalent in effect to ignoring the request altogether.

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=organizations/*/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.