Skip to main content
POST
/
v2
/
projects
/
{name}
/
releases
Deploy releases
curl --request POST \
  --url https://api.iran.liara.ir/v2/projects/{name}/releases \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "sourceID": "<string>",
  "port": 123,
  "type": "<string>"
}
'
{
  "releaseID": "<string>"
}

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #

Path Parameters

name
string
required

The name of your app for deploy

Body

application/json
sourceID
string

The id of Deployed sources

port
number

The port of your app

type
string

The platform of your app

Response

Successful operation

releaseID
string