Delete upload grant

http
DELETE /projects/{project_reference}/uploads/grants/{upload_path}/{user_id}

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

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
upload_pathpathYesPrivate path from which the recipient grant is removed. Requires path administration. Upload UUID or double-URL-encoded project-relative file path or applicable folder prefix.
user_idpathYesRecipient user UUID whose grant is revoked

Responses

StatusDescription
200Grant removed.
400Invalid recipient UUID or path encoding, or no applicable visibility target
401Authentication is required
403Admin access required. API keys also require delete scope.
404Project or grant not found
500Server error