Skip to main content
POST
Reset Database
string
required
The ID of the database to reset.

Response

string
The response message, indicating successful operation.

Error Responses

string
The error code indicating the reason for failure. Possible values:
  • UNAUTHORIZED: The user is not authenticated or lacks sufficient permissions.
  • DATABASE_NOT_FOUND: The specified database does not exist or the user lacks access.
  • DATABASE_ID_REQUIRED: The database ID was not provided.
  • SNAPSHOT_FAILED: The safety snapshot could not be taken; the database was not reset. Contact support (500).
  • INTERNAL_SERVER_ERROR: Failed to reset the database.
string
A descriptive message providing additional details about the error.