Remove a Database

To remove a database from your PostgreSQL cluster, send a DELETE request.

Note: The sample UUID in all following request examples is 498ae72f-411f-11eb-9d07-046c59cc737e.

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/newdb

Response

The response body is empty.

Last updated

Was this helpful?