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}

circle-info

Note:

  • The sample UUID is 498ae72f-411f-11eb-9d07-046c59cc737e.

  • The sample database name is newdb.

Request

curl --request DELETE \
    --user "[email protected]:Mb2.r5oHf-0t" \

Response

The response body is empty.

Last updated

Was this helpful?