Configuration

Change the app's port

Changed on

Redeploys the app's latest successful release with a new port. If the app has no successful release, nothing changes. Team permission: operate or manage.

Errors from this endpoint use the body {"message": "..."} instead of the standard error body.

post/v1/projects/update-port

Request

  • Base URL
    https://api.liara.ir
  • URL
    https://api.liara.ir/v1/projects/update-port
  • Auth
    HTTP bearer

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

projectstring required

The app's name.

portinteger required

The port your app listens on.

Response

The app has no successful release; nothing changed. The response body is empty.

Changes