Configuration

Change database settings

Changes engine settings for mysql, mariadb and postgres databases. Changing parameters (anything except the postgis and pgvector extensions) needs a bundle plan that allows it. Settings you send are merged with the current ones; send null to go back to the default. Team permission: manage.

patch/v1/databases/{databaseID}/settings

Request

  • Base URL
    https://api.liara.ir
  • URL
    https://api.liara.ir/v1/databases/{databaseID}/settings
  • Auth
    HTTP bearer

Path parameters

databaseIDstring required

24-character hexadecimal ID.

The database's _id.

Query parameters

teamIDstring

24-character hexadecimal ID.

Run the request in the context of a team you belong to, instead of your personal account.

Request body

type'mysql' | 'mariadb' | 'postgres' required

Must match the database's type.

Response

The settings were saved. The response body is empty.

Changes

No operation changes recorded.