# unshare_drive_file (https://sellersheetai.com/docs/mcp-api/tools/unshare_drive_file)

> Remove a permission from a file.

Access: **DESTRUCTIVE** · toolset google_workspace · family null

## Call it

MCP tool call:

```json
{
  "name": "unshare_drive_file",
  "arguments": {
    "fileId": "<fileId>",
    "permissionId": "<permissionId>"
  }
}
```

Tool API (early access — contact us):

```bash
curl -X POST https://api.sellersheetai.com/api/v1/tools/unshare_drive_file \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"fileId":"<fileId>","permissionId":"<permissionId>"}'
```

## Arguments

| Name | Type | Required | Description |
|---|---|---|---|
| `fileId` | string | yes | the Drive file ID. |
| `permissionId` | string | yes | Permission ID to remove. |

## Result

- `success` — Boolean indicating successful removal.

## Example

- unshare_drive_file(fileId="1XYZ...", permissionId="12345")