Skip to main content
POST
Reset Database
Clears all the data of the database right away. It is permanent: there is no undo, so create a snapshot first if you may need the data again. Snapshots you already have stay available. An API key needs the databases:delete scope, and in a workspace the member needs the databases:delete permission.
string
required
The ID of the database to reset.

Response

object

Error Responses

string
The error code indicating the reason for failure. Possible values:
  • AUTH_TOKEN_MISSING, API_KEY_INVALID, SESSION_REVOKED: The Authorization header is missing, the API key is invalid, or the dashboard session was revoked (401).
  • API_KEY_IP_DENIED, API_KEY_SCOPE_DENIED: The API key is used from an IP outside its allowlist, or it lacks the scope the route requires (403).
  • ACCESS_DENIED: You are a workspace member without the permission for this action, or you did not send the workspace_id (403).
  • DATABASE_NOT_FOUND: The specified database was not found.
  • DATABASE_ID_REQUIRED: The database ID was not provided.
  • INTERNAL_SERVER_ERROR: Failed to reset the database.
string
A descriptive message providing additional details about the error.
Last modified on November 20, 2026