PATCH
/
applications
/
{uuid}
/
envs
/
bulk
curl --request PATCH \
  --url https://app.coolify.io/api/v1/applications/{uuid}/envs/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "data": [
    {
      "key": "<string>",
      "value": "<string>",
      "is_preview": true,
      "is_build_time": true,
      "is_literal": true,
      "is_multiline": true,
      "is_shown_once": true
    }
  ]
}'
{
  "message": "Environment variables updated."
}

Authorizations

Authorization
string
header
required

Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.

Path Parameters

uuid
string
required

UUID of the application.

Body

application/json

Bulk envs updated.

The body is of type object.

Response

201
application/json

Environment variables updated.

The response is of type object.