Skip to main content
PUT
/
environments
/
{org}
/
{env_name}
/
join
Add environment to logical environment
curl --request PUT \
  --url https://app.kosli.com/api/v2/environments/{org}/{env_name}/join \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "physical_env_name": "<string>"
}
'
{
  "message": "<string>",
  "errors": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

env_name
string
required
org
string
required

Body

application/json
physical_env_name
string
required

Physical environment name

Response

Successfully added environment

Last modified on April 7, 2026