Soft-delete an upload so it no longer lists or downloads. Requires project.uploads.write; API keys also need delete scope.
Arguments
inputDeleteUploadInput!requiredinput.projectReferenceStringProject UUID, slug or configured domain. Omission does not select the context project.
input.uploadReferenceStringUpload 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.
input.filePathStringAnother spelling of uploadReference. Send one of the two.
Responses
mutation DeleteUpload($input: DeleteUploadInput!) { deleteUpload(input: $input) { ok }}{ "data": { "deleteUpload": { "ok": false } }}The DeleteUploadPayload! in data.deleteUpload.