Skip to main content
Prisma Documentation Docs
current

Search documentation

Type to search this documentation.

On this pageOverview

Delete database

REST API: Deletes the database with the given ID.

DELETE /v1/databases/{databaseId}

Deletes the database with the given ID.

AuthorizationBearer <token>

OAuth2 authentication

In: header

Scope: workspace:admin, offline_access

databaseId*string

Match^(db_)?([cC][^\s-]{8,}|[a-z0-9]+)$

curl -X DELETE "https://example.com/v1/databases/string"

Empty

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu