Remove a Database
To remove a database from your PostgreSQL cluster, send a DELETE request.
Endpoint
Use the following endpoint to remove a database from your PostgreSQL cluster:
https://api.ionos.com/databases/postgresql/clusters/{clusterId}/databases/{databasename}
Request
curl --request DELETE \
--user "[email protected]:Mb2.r5oHf-0t" \
https://api.ionos.com/databases/postgresql/clusters/498ae72f-411f-11eb-9d07-046c59cc737e/databases/newdbResponse
The response body is empty.
Last updated
Was this helpful?