Projects

Update Environment

Changed on

Update environment by name or UUID within a project.

patch/projects/{uuid}/environments/{environment_name_or_uuid}

Request

  • Base URL: https://app.coolify.io/api/v1
  • URL: https://app.coolify.io/api/v1/projects/{uuid}/environments/{environment_name_or_uuid}
  • Auth: HTTP bearer

Path parameters

uuidstring required

Project UUID

environment_name_or_uuidstring required

Environment name or UUID

Request body

namestring

The name of the environment.

descriptionstring

The description of the environment.

Response

Environment updated.

uuidstring
namestring
descriptionstring

Example response

{
  "uuid": "env123",
  "name": "staging",
  "description": "Staging environment"
}

Changes