Databases
Reset Database
Resets a specific database by its ID, clearing all data right away and for good. Take a snapshot first if you may need the data again.
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.
Response
Error Responses
The error code indicating the reason for failure. Possible values:
AUTH_TOKEN_MISSING,API_KEY_INVALID,SESSION_REVOKED: TheAuthorizationheader 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 theworkspace_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.
Last modified on November 20, 2026