Skip to content

Google: Approves or denies an access proposal For more information, see Manage pending access proposals (https: developers google com workspace drive api guides pending-access) — request body — body

Approves or denies an access proposal. For more information, see [Manage pending access proposals](https://developers.google.com/workspace/drive/api/guides/pending-access).: request body, field body. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Approves or denies an access proposal For more information, see Manage pending access proposals (https: developers google com workspace drive api guides pending-access) — request body — body

FieldTypePresenceDescription and constraints
$objectRootRequest message for resolving an AccessProposal on a file.
actionstringOptionalRequired. The action to take on the access proposal.
One of: ACTION_UNSPECIFIED, ACCEPT, DENY
rolearrayOptionalOptional. The roles that the approver has allowed, if any. For more information, see [Roles and permissions](https://developers.google.com/workspace/drive/api/guides/ref-roles). Note: This field is required for the `ACCEPT` action.
role[]stringEach item
sendNotificationbooleanOptionalOptional. Whether to send an email to the requester when the access proposal is denied or accepted.
viewstringOptionalOptional. Indicates the view for this access proposal. This should only be set when the proposal belongs to a view. Only `published` is supported.

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.