Skip to main content
PUT
/
v1
/
databases
/
{id}
Update Database
curl --request PUT \
  --url https://api.vertracloud.app/v1/databases/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "updates": {}
}'
{
  "response": {
    "id": "639d9aa35d8b4e559bcd066db4ddcc8c",
    "cluster": 1,
    "type": 1,
    "name": "UpdatedDatabase",
    "description": "Updated description",
    "owner_id": "993591427428790342",
    "owner_plan_id": 1,
    "status": "up",
    "ram": 256,
    "host": "639d9aa35d8b4e559bcd066db4ddcc8c.db.usa1.vertraweb.app",
    "port": 12748,
    "last_snapshot": "2026-03-14T19:58:00Z",
    "created_at": "2026-03-14T19:58:00Z",
    "updated_at": "2026-03-14T20:00:00Z"
  }
}

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 update.
updates
object
The fields to update for the database.

Response

response
object
The updated details of the database.
{
  "response": {
    "id": "639d9aa35d8b4e559bcd066db4ddcc8c",
    "cluster": 1,
    "type": 1,
    "name": "UpdatedDatabase",
    "description": "Updated description",
    "owner_id": "993591427428790342",
    "owner_plan_id": 1,
    "status": "up",
    "ram": 256,
    "host": "639d9aa35d8b4e559bcd066db4ddcc8c.db.usa1.vertraweb.app",
    "port": 12748,
    "last_snapshot": "2026-03-14T19:58:00Z",
    "created_at": "2026-03-14T19:58:00Z",
    "updated_at": "2026-03-14T20:00:00Z"
  }
}

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_OR_FORBIDDEN: The specified database does not exist or the user lacks access.
  • INVALID_NAME: The provided name is invalid.
  • INVALID_DESCRIPTION: The provided description is invalid.
message
string
A descriptive message providing additional details about the error.
{
  "code": "UNAUTHORIZED"
}