Get your free beta license ↗
API operation · backups group
DELETE

/users/{name}/backup-excludes/{id}

First published 3 Oct 20260.1.0Unchanged since publication

Remove a customer's backup exclusion

Who may call it
AdministratorResellerCustomer
Token scope, any of
backupsall
Answers200 OK

Use the id returned by GET /users/{name}/backup-excludes. Administrators can remove locked or unlocked exclusions. Customers can remove only their own unlocked exclusions.

As a command

Run as root on the server

Parameters

namepath ·UsernameRequired
idpath ·integer, 1 or moreRequired

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X DELETE "$API/users/alice/backup-excludes/1" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "deleted": "text"
}

Errors

9 errors, each a status and a sentence
400--id is required
400--user is required
400Invalid id
400Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter
400Username '<value>' is reserved
401Authentication required
403<path> was set by the administrator and is not yours to remove
404No such row
404Unknown user <user>
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-backup-excludes-id/