Skip to main content
DELETE
DELETE /projects/{project}
Deletes a project database after explicit slug confirmation.

Endpoint details

string
required
Bearer pat_... (Project API Token). Keep this token on your backend/server.
string
required
Project slug. This acts as the Project ID in API paths.
boolean
required
true for a successful response and false for an error response.
object | null
Endpoint-specific response data when ok is true; null on errors.
object | null
Error code and message when ok is false; null on success.
string
required
Request identifier you can use when troubleshooting a specific API call.

Authentication

Project API Token.

Parameters

Path: project string, required. Body: confirm_project_slug string, required, must exactly match {project}.

Notes

This removes the SQLite database file set for the project. Treat it as irreversible at the API level.

Request examples

Basic request:
Full request:

Response examples

Success:
Error or alternate response: