- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Action
- Try it!
Used to approve or deny an Access Proposal.
HTTP request
POST https://www.googleapis.com/drive/v3/files/{fileId}/accessproposals/{proposalId}:resolve
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
file |
Required. The id of the item the request is on. |
proposal |
Required. The id of the access proposal to resolve. |
Query parameters
Parameters | |
---|---|
role[] |
Optional. The roles the approver has allowed, if any. |
view |
Optional. Indicates the view for this access proposal. This should only be set when the proposal belongs to a view. |
action |
Required. The action to take on the AccessProposal. |
send |
Optional. Whether to send an email to the requester when the AccessProposal is denied or accepted. |
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/docs
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.file
Some scopes are restricted and require a security assessment for your app to use them. For more information, see the Authorization guide.
Action
The state change of the AccessProposal.
Enums | |
---|---|
ACTION_UNSPECIFIED |
Unspecified action |
ACCEPT |
The user accepts the proposal |
DENY |
The user denies the proposal |