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>"
}deploy releases that user owns
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>"
}Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #
The name of your app for deploy
Successful operation