Cancel a single in-flight backup.
Changed onFlips the parent backups row + its latest backup_jobs row to failed with reason "cancelled by user <uid>". The in-process CancellationToken is observed on the next heartbeat tick (≤5s), so the engine exits cleanly and rollback reaps the sidecar. Idempotent: cancelling an already-terminal backup is a 200 with cancelled = 0.
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/backups/{id}/cancel
- Auth: HTTP bearer
Path parameters
Response
Cancel processed (idempotent)
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status
- warning