DELETE
/
v1
/
environments
/
{id}
curl --request DELETE \
  --url https://api.rootly.com/v1/environments/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "e417167c-ca21-4159-9197-020c0aebbb0a",
    "type": "environments",
    "attributes": {
      "slug": "laboriosam-est-illum-dicta",
      "name": "Laboriosam est illum dicta.",
      "description": "Sapiente sint reprehenderit labore.",
      "color": "#19e619",
      "position": 1,
      "notify_emails": [],
      "slack_channels": [],
      "slack_aliases": [],
      "created_at": "2025-06-19T02:38:53.522-07:00",
      "updated_at": "2025-06-19T02:38:56.978-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

Response

200
application/vnd.api+json

environment deleted

The response is of type object.