Set or unset a master backup
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):truemarks the backup as a master backup,falsetakes 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:
favoriteis 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
siteBackup
Request
This endpoint expects an object.
favorite
Response
200 - Site backup favorite updated
data
jsonapi
