Skip to main content
DELETE
/
api
/
v1
/
databases
/
{id}
Delete database
curl --request DELETE \
  --url https://api.example.com/api/v1/databases/{id}

Documentation Index

Fetch the complete documentation index at: https://docs.dbhost.app/llms.txt

Use this file to discover all available pages before exploring further.

Permanently deletes the database, its PostgreSQL user, and the PgBouncer pool entry. All data is destroyed.

Path parameters

ParameterTypeDescription
iduuidDatabase ID

Response

204 No Content

Errors

StatusCodeDescription
401UNAUTHORIZEDMissing or invalid API key
404DATABASE_NOT_FOUNDDatabase doesn’t exist, isn’t owned by this user, or isn’t in scope for this key
500AGENT_ERRORThe VPS agent failed to delete the database