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": "645eb90d-f389-44df-a482-bfd2af253820",
    "type": "environments",
    "attributes": {
      "slug": "iure-facere-ut-et",
      "name": "Iure facere ut et.",
      "description": "Ipsum quia fugit excepturi.",
      "color": "#2e2e19",
      "position": 1,
      "notify_emails": [],
      "slack_channels": [],
      "slack_aliases": [],
      "created_at": "2025-10-28T14:22:50.605-07:00",
      "updated_at": "2025-10-28T14:22:53.117-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