API referenceSections

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

NameInTypeRequiredDescription
tidpathstringrequired
bidpathstringrequired
with_dependentsquerybooleanoptional

Also delete the incremental backups built on it (BACKUP_HAS_DEPENDENTS otherwise)

keep_remotequerybooleanoptional

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-Tokenheaderstringoptional

Required on unsafe requests authenticated by session cookie; API keys do not use it.

Responses

204 Deleted

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required