> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vertracloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Reset Database

> Resets a specific database by its ID, clearing all data.

<ParamField path="id" type="string" required>
  The ID of the database to reset.
</ParamField>

### Response

<ResponseField name="response" type="string">
  The response message, indicating successful operation.
</ResponseField>

<ResponseExample>
  ```json Response theme={null}
  {
    "response": "success"
  }
  ```
</ResponseExample>

### Error Responses

<ResponseField name="code" type="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.
  * `DATABASE_RESET_FAILED`: Failed to reset the database.
</ResponseField>

<ResponseField name="message" type="string">
  A descriptive message providing additional details about the error.
</ResponseField>

<ResponseExample>
  ```json Error Response (403) theme={null}
  {
    "code": "UNAUTHORIZED"
  }
  ```

  ```json Error Response (404) theme={null}
  {
    "code": "DATABASE_NOT_FOUND"
  }
  ```

  ```json Error Response (400) theme={null}
  {
    "code": "DATABASE_ID_REQUIRED"
  }
  ```
</ResponseExample>
