Skip to main content
POST
/
v1
/
projects
/
update-envs
Update envs
curl --request POST \
  --url https://api.iran.liara.ir/v1/projects/update-envs \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project": "<string>",
  "variables": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ]
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
project
string

The name of your app for update envs

variables
object[]

The envs for update

Response

Successful operation

message
string