---
title: "Change the app's plan"
method: POST
path: "/v1/projects/{project_id}/resize"
tags: ["Configuration"]
---

# Change the app's plan

`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

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`.

## Path parameters

- `project_id` string, required

## Query parameters

- `teamID` string: 24-character hexadecimal ID.

## Request body

- object
  - `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 `200`

The plan was changed. The response body is empty.

## Other responses

- `400`: The body or `teamID` is invalid, or the plan can't be used for this app (`g2_plan_unavailable`).
- `401`: The API token is missing, invalid or expired.
- `402`: Your balance is too low.
- `403`: With `teamID`: you aren't a member of the team (`team_not_found`), or you don't have the required permission on this app (`no_permission`).
- `404`: The app doesn't exist or is frozen.
- `409`: The new plan doesn't have enough storage for the app's disks.

---

[API](https://skmtc.dev/liara-cloud/apis/paas.md) - [All operations](https://skmtc.dev/liara-cloud/apis/paas/llms.txt) - [OpenAPI document](https://skmtc.dev/liara-cloud/apis/paas/revisions/610162e8a623?raw)
