APIBackup management

Toggle backup lock status

Toggles the lock status of a backup (locked backups cannot be deleted)

Toggles the lock status of a backup (locked backups cannot be deleted)

POST
/api/client/servers/{server}/backups/{backup}/lock

Authorization

bearerAuth
AuthorizationBearer <token>

Enter your API token in the format: Bearer {token}

In: header

Path Parameters

server*string

Server identifier

backup*string

Backup identifier

Response Body

application/json

curl -X POST "https://example.com/api/client/servers/string/backups/string/lock"
{
  "object": "backup",
  "attributes": {
    "uuid": "string",
    "name": "string",
    "is_locked": true,
    "created_at": "2019-08-24T14:15:22Z",
    "completed_at": "2019-08-24T14:15:22Z"
  }
}
Empty
Empty
Empty