Delete upload

http
DELETE /projects/{project_reference}/uploads/{upload_reference}

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

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
upload_referencepathYesUpload 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.

Responses

StatusDescription
200File deleted successfully.
400Missing file path
401Unauthorized
403The caller lacks access to the upload or path. API keys also require delete scope.
404File not found, or not visible to the caller
409The upload changed concurrently
500Server error