Skip to main content
PATCH
/
v1
/
databases
/
{id}
/
settings
Settings a database
curl --request PATCH \
  --url https://api.iran.liara.ir/v1/databases/{id}/settings \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "<string>",
  "options": {
    "maxConnections": 123,
    "netBufferLength": 123,
    "selectLimit": 123,
    "maxAllowedPacket": 123,
    "connectTimeout": 123,
    "maxJoinSize": 123,
    "clientEncoding": "<string>",
    "sharedBuffers": 123
  }
}
'
This response has no body data.

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #

Path Parameters

id
string
required

Body

application/json
type
string
options
object

Response