Skip to main content
DELETE
/
sites
/
environments
/
backups
/
{backup_id}
Remove a WP site environment backup
curl --request DELETE \
  --url https://api.kinsta.com/v2/sites/environments/backups/{backup_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Removing a backup in progress. Use the operation_id to check the status.",
  "status": 202,
  "operation_id": "backups:remove-54fb80af-576c-4fdc-ba4f-b596c83f15a1"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

backup_id
number
required
Example:

165424355

Response

Removing backup action started. Check MyKinsta for status

message
string
required
Example:

"Removing a backup in progress. Use the operation_id to check the status."

status
number
required
Example:

202

operation_id
string
Example:

"backups:remove-54fb80af-576c-4fdc-ba4f-b596c83f15a1"