Databases
Delete database
Deletes the database with the given ID.
DELETE
/v1/databases/{databaseId}AuthorizationBearer <token>
OAuth2 authentication
In: header
Scope: workspace:admin, offline_access
Path Parameters
databaseId*string
Match
^(db_)?([cC][^\s-]{8,}|[a-z0-9]+)$Response Body
application/json
application/json
application/json
curl -X DELETE "https://api.prisma.io/v1/databases/string"Empty
{
"error": {
"code": "string",
"message": "string"
}
}{
"error": {
"code": "string",
"message": "string"
}
}{
"error": {
"code": "string",
"message": "string"
}
}