Configuration

Turn an app on or off

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

post/v1/projects/{project_id}/actions/scale

Request

  • Base URL
    https://api.liara.ir
  • URL
    https://api.liara.ir/v1/projects/{project_id}/actions/scale
  • Auth
    HTTP bearer

Path parameters

project_idstring required

The app's name.

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 recorded changes to this operation across all 25 revisions of this API.