Backups

Protect or unprotect a backup

POST
/cloud/project/{project_uuid}/backup/datastore/volume-protection/

Protected backups cannot be deleted or pruned by a backup job.

Authorization

bearerAuth
AuthorizationBearer <token>

API key created in the portal (Settings → API Keys). Send as Authorization: Bearer <key>.

In: header

Path Parameters

project_uuid*string

Project UUID.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/cloud/project/string/backup/datastore/volume-protection/" \  -H "Content-Type: application/json" \  -d '{    "volid": "string",    "protected": true  }'
{  "is_protected": true}