Configuration

Change the app's plan

Moves the app to another plan. If the app has been deployed, the new plan must have enough storage for the app's disks, and your balance must be high enough for the new plan. Team permission: manage.

post/v1/projects/{project_id}/resize

Request

  • Base URL
    https://api.liara.ir
  • URL
    https://api.liara.ir/v1/projects/{project_id}/resize
  • 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

planID'small-g2' | 'medium-g2' | 'standard-base-g2' | 'standard-plus-g2' | 'pro-g2' | 'pro-plus-g2' | 'pro-max-g2' required

The app's resource plan. See Liara's pricing page for what each plan includes.

Response

The plan was changed. The response body is empty.

Changes

No recorded changes to this operation across all 25 revisions of this API.