Skip to main content
DELETE
Delete Database
string
required
The API key for your account. You can find this in your account settings.
Requires an API key with the databases:write scope. Permanently removes the database container and releases its public DNS record (square-cloud-db-<id>.squareweb.app). This is destructive and immediate: there is no confirmation step, and the connection URL stops resolving as soon as the DNS record is released. If you need the data afterward, take a Create Snapshot before deleting. The request is rejected while a snapshot restore is in progress on the database. Rate limited to 1 deletion every 3 seconds per user.

Parameters

string
required
The ID of the database.

Response

string
Indicates whether the call was successful: success if it was, error if not.

Common errors