DELETE
/
v1
/
environments
/
{id}
Delete an environment
curl --request DELETE \
  --url https://api.rootly.com/v1/environments/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "1fd7b9fc-e63c-4550-8363-e30c133cdec4",
    "type": "environments",
    "attributes": {
      "slug": "placeat-rem-quia-alias",
      "name": "Placeat rem quia alias.",
      "description": "Fuga nobis libero nisi.",
      "color": "#0a330a",
      "position": 1,
      "notify_emails": [],
      "slack_channels": [],
      "slack_aliases": [],
      "created_at": "2025-09-11T13:26:02.513-07:00",
      "updated_at": "2025-09-11T13:26:05.111-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
required

Resource UUID

Response

environment deleted

The response is of type object.