PUT
/
v1
/
environments
/
{id}
curl --request PUT \
  --url https://api.rootly.com/v1/environments/%7Bid%7D \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/vnd.api+json'
{
  "data": {
    "id": "9cfa4cfb-76b6-4950-ad18-3566b058a387",
    "type": "environments",
    "attributes": {
      "slug": "us-east-1",
      "name": "us-east-1",
      "description": "East Coast Datacenter Region 1",
      "color": "#000",
      "position": 2,
      "notify_emails": [],
      "slack_channels": [],
      "slack_aliases": [],
      "created_at": "2025-03-11T19:09:23.812-07:00",
      "updated_at": "2025-03-11T19:09:27.383-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/vnd.api+json
data
object
required

Response

200
application/vnd.api+json
environment updated
data
object
required