Configuration

Turn a database on or off

Turns the database off (scale: 0) or on (scale: 1). Team permission: manage.

post/v1/databases/{databaseID}/actions/scale

Request

  • Base URL
    https://api.liara.ir
  • URL
    https://api.liara.ir/v1/databases/{databaseID}/actions/scale
  • 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

scale0 | 1 required

Response

Done. The response body is empty.

Changes

No operation changes recorded.