# veryfront__delete_upload_grant

Revoke one user's grant on an upload or folder. Requires project.uploads.admin; API keys also need delete scope.

Risk: mutating.

## Arguments

| Name                | Type    | Required | Description                                                                                                                                     |
| ------------------- | ------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| `upload_path`       | string  | Yes      | Upload UUID for grants on that upload, or an upload path or folder prefix resolved to the folder setting that governs it. Do not URL-encode it. |
| `user_id`           | string  | Yes      | UUID of the user whose grant is revoked.                                                                                                        |
| `confirm`           | boolean | Yes      | Must be true to confirm revoking the grant.                                                                                                     |
| `project_reference` | string  |          | Project UUID, slug or configured domain; optional when the selected context supplies a project.                                                 |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__delete_upload_grant",
    "arguments": {
      "upload_path": "<upload_path>",
      "user_id": "<user_id>",
      "confirm": "<confirm>"
    }
  }
}
```
