Skip to main content
DELETE
/
organizations
/
{organization}
/
databases
/
{database}
Delete a database
curl --request DELETE \
  --url https://api.planetscale.com/v1/organizations/{organization}/databases/{database} \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

organization
string
required

Organization name slug from list_organizations. Example: acme.

database
string
required

Database name slug from list_databases. Example: app-db.

Response

Deletes a database