Skip to main content
POST
/
v1
/
databases
/
{id}
/
reset
Reset Database
curl --request POST \
  --url https://api.vertracloud.app/v1/databases/{id}/reset
{
  "response": "success"
}

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.

id
string
required
The ID of the database to reset.

Response

response
string
The response message, indicating successful operation.
{
  "response": "success"
}

Error Responses

code
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.
message
string
A descriptive message providing additional details about the error.
{
  "code": "UNAUTHORIZED"
}