Delete a PostgreSQL backup
You can delete an on-demand backup of a PostgreSQL cluster.
Restriction
Only backups of type ON_DEMAND can be deleted. Automatic backups (AUTO) cannot be deleted manually.
Permissions
info
This action requires the following IAM (Identity and Access Management) permissions:
- postgresql.cluster.delete
- API
The DELETE /postgresql/spaces/{spaceId}/clusters/{clusterId}/backups/{backupId} request deletes an on-demand backup of a cluster.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
spaceId | UUID (Universally Unique Identifier) | Yes | Space identifier |
clusterId | UUID | Yes | Unique identifier of the cluster |
backupId | UUID | Yes | Unique identifier of the backup |
Example response
HTTP/1.1 204 No Content
The backup switches to the DELETING status for the duration of the deletion.