API operation · backups group
DELETE
/users/{name}/backups/{file}
First published 3 Oct 2026
0.1.0Unchanged since publicationDelete one of a customer's on-demand backup archives
Who may call it
AdministratorResellerCustomer
Token scope, any of
backupsallAnswers200 OK
An administrator or the customer can delete an archive from the customer's backups/ directory. Use the filename returned by GET /users/{name}/backups, including the .part suffix if present. The API returns 400 if the filename has an invalid format.
As a command
Run as root on the serverParameters
namepath ·UsernameRequiredfilepath ·string, matching ^[A-Za-z0-9][A-Za-z0-9._-]{0,200}\.tar\.gz(\.part)?$RequiredExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X DELETE "$API/users/alice/backups/urbestack-panel-20260909T101500Z.json.enc" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"deleted": "text"
}Errors
8 errors, each a status and a sentence400--file is required400--name is required400An archive is named <user>-<date>-<time>.tar.gz400Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter400Username '<value>' is reserved401Authentication required404No archive named <file>404Unknown user <name>No error of this operation matches.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/delete-users-name-backups-file/