Settings

Turn on the default subdomain

Changed on

Makes the app reachable at <app-name>.liara.run. Team permission: operate or manage.

The default subdomain expires one week after the app's first successful deployment. It's then turned off, defaultSubdomainExpired becomes true, and it can't be turned back on. Connect a custom domain to keep the app reachable.

post/v1/projects/{projectID}/default-subdomain/enable

Request

  • Base URL
    https://api.liara.ir
  • URL
    https://api.liara.ir/v1/projects/{projectID}/default-subdomain/enable
  • Auth
    HTTP bearer

Path parameters

projectIDstring required

24-character hexadecimal ID.

The app's ID (_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.

Response

Done. The response body is empty.

Changes