Delete upload grant

veryfront__delete_upload_grant

Requires project.uploads.admin; API keys also need delete scope.

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
upload_pathstringYesUpload 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. Minimum length: 1.
user_idstringYesUUID of the user whose grant is revoked. Format: uuid.
confirmbooleanYesMust be true to confirm revoking the grant.
project_referencestringNoProject UUID, slug or configured domain; optional when the selected context supplies a project.

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__delete_upload_grant",
    "arguments": {
      "upload_path": "example",
      "user_id": "00000000-0000-4000-8000-000000000000",
      "confirm": true
    }
  }
}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
okbooleanYesValue: true.

Full schemas

json
{
  "type": "object",
  "properties": {
    "upload_path": {
      "type": "string",
      "minLength": 1,
      "description": "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": {
      "type": "string",
      "format": "uuid",
      "description": "UUID of the user whose grant is revoked."
    },
    "confirm": {
      "type": "boolean",
      "description": "Must be true to confirm revoking the grant."
    },
    "project_reference": {
      "type": "string",
      "description": "Project UUID, slug or configured domain; optional when the selected context supplies a project."
    }
  },
  "required": [
    "upload_path",
    "user_id",
    "confirm"
  ],
  "additionalProperties": false,
  "description": "Arguments for the delete_upload_grant tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "const": true
    }
  },
  "required": [
    "ok"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the delete_upload_grant tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}