Delete upload

Soft-delete an upload so it no longer lists or downloads. Requires project.uploads.write; API keys also need delete scope.

Arguments

  • upload_referencestring

    Upload path to soft-delete. Requires upload write and path edit access; API keys also need delete scope. Restoration requires the deleted record to exist; no deletion-age cutoff is enforced.

  • file_pathstring

    Send upload_reference or this earlier spelling of it, not two different values.

  • confirmbooleanrequired

    Must be true to confirm deletion

  • project_referencestring

    Project ID or slug

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__delete_upload",    "arguments": {      "confirm": false    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"ok\":true}"      }    ],    "structuredContent": {      "ok": true    }  }}

The tool ran; its output is result.structuredContent.