Skip to navigation

Set or unset a master backup

View as MarkdownOpen in Claude

Marks one backup as a master backup, or takes the mark off. A master backup is kept out of the retention policy, so it never expires while marked. You set the state explicitly, so repeating the call leaves the same state.

Your role must be allowed to mark backups; without it the request answers 404.

Body

  • favorite (boolean, required): true marks the backup as a master backup, false takes the mark off.

Errors

  • 400: your plan’s cap of master backups for that website is reached. The error names it and nothing changes.
  • 422: favorite is missing or not a boolean.

Authentication

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Path parameters

siteBackupstringRequired

Request

This endpoint expects an object.
favoritebooleanOptional

Response

200 - Site backup favorite updated

dataobjectOptional
jsonapiobjectOptional