Skip to main content
DELETE
/
v1
/
environments
/
{id}
Delete an environment
curl --request DELETE \
  --url https://api.rootly.com/v1/environments/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "f4831422-ce13-4d07-aed3-52f5405f09a1",
    "type": "environments",
    "attributes": {
      "slug": "soluta-officiis-veniam-aut",
      "name": "Soluta officiis veniam aut.",
      "description": "Nulla aut soluta excepturi.",
      "color": "#d9a6d9",
      "position": 1,
      "notify_emails": [],
      "slack_channels": [],
      "slack_aliases": [],
      "created_at": "2025-10-08T08:39:47.993-07:00",
      "updated_at": "2025-10-08T08:39:51.389-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

data
object
required
I