Method: folders.approvalRequests.approve

Approves a request and returns the updated ApprovalRequest.

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


The URL uses gRPC Transcoding syntax.

Path parameters



Name of the approval request to approve.

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

  • accessapproval.requests.approve

Request body

The request body contains data with the following structure:

JSON representation
  "expireTime": string

string (Timestamp format)

The expiration time of this approval.

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

Response body

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

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.