Databases
Delete a database
Authorization
A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:
Service Token Accesses
delete_database
OAuth Scopes
| Resource | Scopes |
|---|---|
| Organization | delete_databases |
| Database | delete_database |
DELETE
Delete a database
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
FlowAuthorization Code
- Authorization URL
- https://app.planetscale.com/oauth/authorize
- Token URL
- https://auth.planetscale.com/oauth/token
Path Parameters
Organization name slug from list_organizations. Example: acme.
Database name slug from list_databases. Example: app-db.
Response
Deletes a database

