Skip to main content
PUT
/
environments
/
{org}
/
{env_name}
/
archive
Archive environment
curl --request PUT \
  --url https://app.kosli.com/api/v2/environments/{org}/{env_name}/archive \
  --header 'Authorization: Bearer <token>'
{
  "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

Response

Environment archived successfully

Last modified on April 7, 2026