Delete a folder's visibility settings and child folders and soft-delete every upload under its prefix. Requires project.uploads.write; API keys also need delete scope.
Arguments
inputUploadFolderPathInput!requiredinput.projectReferenceStringProject UUID, slug or configured domain. Omission does not select the context project.
input.folderPathStringFolder path; a trailing slash is appended when absent. Deletion requires path edit access.
input.pathStringAnother spelling of folderPath. Send one of the two.
Responses
mutation DeleteUploadFolder($input: UploadFolderPathInput!) { deleteUploadFolder(input: $input) { ok }}{ "data": { "deleteUploadFolder": { "ok": false } }}The UploadFolderDeletion! in data.deleteUploadFolder.