Skip to content

Delete a PCD snapshot

DELETE
/pcd/{databaseId}/snapshots/{snapshotId}
curl --request DELETE \
--url https://example.com/api/v1/pcd/1/snapshots/1

Deletes a snapshot. Ownership is enforced — the snapshot must belong to the specified database.

databaseId
required
integer

PCD database ID

snapshotId
required
integer

PCD snapshot ID

Snapshot deleted

Invalid parameters

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

Snapshot not found or doesn’t belong to database

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

Delete failed

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}