Delete a backup on the server and in S3; one that incremental backups build on needs with_dependents
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
DELETE
/api/v1/tenants/{tid}/backups/{bid}Delete a backup on the server and in S3; one that incremental backups build on needs with_dependents
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
bid | path | string | required | |
with_dependents | query | boolean | optional | Also delete the incremental backups built on it (BACKUP_HAS_DEPENDENTS otherwise) |
keep_remote | query | boolean | optional | Leave the remote copy (S3, SFTP, cloud) where it is and forget it: for a destination that is gone or refuses the server (BACKUP_DELETE_FAILED). The server's copy and indexes are deleted; the audit entry records the copy kept. |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Responses
204 Deleted
default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required