---
title: "POST /files/{fileId}/accessproposals/{proposalId}:resolve"
method: POST
path: "/files/{fileId}/accessproposals/{proposalId}:resolve"
tags: ["accessproposals"]
---

# POST /files/{fileId}/accessproposals/{proposalId}:resolve

`POST /files/{fileId}/accessproposals/{proposalId}:resolve`

Approves or denies an access proposal. For more information, see [Manage pending access proposals](https://developers.google.com/workspace/drive/api/guides/pending-access).

## Path parameters

- `fileId` string, required
- `proposalId` string, required

## Request body

- ResolveAccessProposalRequest — Request message for resolving an AccessProposal on a file.
  - `view` string — Optional. Indicates the view for this access proposal. This should only be set when the proposal belongs to a view. Only `published` is supported.
  - `role` string[] — Optional. 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.
  - `action` 'ACTION_UNSPECIFIED' | 'ACCEPT' | 'DENY' — Required. The action to take on the access proposal.
  - `sendNotification` boolean — Optional. Whether to send an email to the requester when the access proposal is denied or accepted.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/drive.md) · [All operations](https://skmtc.dev/google/apis/drive/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/drive/revisions/f3444ff3fae2/schema)
