BackupsJobsIdCancel
Cancel a running or pending backup or restore job
Marks the job as cancelled in `athena_logging` and signals the worker on this Athena process to stop `pg_dump` or `pg_restore` if still running. Requires the static admin key (`ATHENA_KEY_12`).
Path Parameters
id*integer
Format
int64Header Parameters
apikey*string
The static admin key configured as ATHENA_KEY_12. Authorization headers (Bearer <key>), X-API-Key, X-Athena-Key, or ?api_key= are also accepted.
Response Body
application/json
curl -X POST "https://athena-cluster.com/admin/backups/jobs/0/cancel" \ -H "apikey: string"Empty
Empty
Empty
Empty
{
"status": "error",
"message": "string",
"error": "string"
}