Update upload grant

Grant one user read, write or admin access to an upload or folder, or change that grant, and leave the other grants unchanged. Requires project.uploads.admin.

Arguments

  • upload_pathstring · min length 1required

    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_idstring · uuidrequired

    UUID of the user the grant is for.

  • permissionstring · default read

    Access to give: read (default), write or admin. One of read, write, admin.

  • project_referencestring

    Project UUID, slug or configured domain; optional when the selected context supplies a project.

Responses

curl -X POST -N "https://api.veryfront.com/mcp" \  -H "Authorization: Bearer $VERYFRONT_API_KEY" \  -H "Accept: application/json, text/event-stream" \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__update_upload_grant",    "arguments": {      "upload_path": "string",      "user_id": "00000000-0000-0000-0000-000000000000"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"user_id\":\"string\",\"permission\":\"read\",\"created_at\":\"string\"}"      }    ],    "structuredContent": {      "user_id": "string",      "permission": "read",      "created_at": "string"    }  }}

The tool ran; its output is result.structuredContent.