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

/users/{name}/backup-excludes

First published 3 Oct 20260.1.0Unchanged since publication

List a customer's backup exclusions

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

Administrators can list any customer's exclusions, and customers can list their own. The response contains the customer name in user and the exclusions in excludes, sorted by path. Each exclusion includes id, path, locked and created_at.

Paths are relative to the customer's home directory. Both nightly and on-demand backups honor these exclusions. A locked exclusion appears to the customer as set by an administrator. An administrator can use a locked exclusion to back up a directory separately with an incremental backup when it is too large for the nightly archive.

Parameters

namepath ·UsernameRequired

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/users/alice/backup-excludes" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "excludes": [
    {
      "created_at": "2026-09-09T10:15:00Z",
      "id": 1,
      "locked": true,
      "path": "public_html/index.php"
    }
  ],
  "user": "alice"
}

Errors

3 errors, each a status and a sentence
400Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter
400Username '<value>' is reserved
401Authentication required
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/get-users-name-backup-excludes/