Chelabase
ManagementDatabases

Change a database's settings

PATCH
/v1/databases/{id}

Every field is optional; a missing one stays as it is. history_window is in seconds.

Authorization

bearer
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Database id

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

All optional; a missing one is left as it is. history_window is in seconds.

history_window?|
Formatint64
max_branches?|
Formatint64
max_connections?|
Formatint64
max_rows?|
Formatint64
statement_timeout_ms?|
Formatint64

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/databases/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "history_window": 0,  "max_branches": 0,  "max_connections": 0,  "max_rows": 0,  "statement_timeout_ms": 0}