DELETE
/
v1
/
environments
/
{id}
curl --request DELETE \
  --url https://api.rootly.com/v1/environments/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "85ea9d5e-97df-45f9-b89f-c4c59e666878",
    "type": "environments",
    "attributes": {
      "slug": "quam-rerum-magni-voluptatibus",
      "name": "Quam rerum magni voluptatibus.",
      "description": "Nam est blanditiis non.",
      "color": "#bab5ba",
      "position": 1,
      "notify_emails": [],
      "slack_channels": [],
      "slack_aliases": [],
      "created_at": "2025-04-18T09:46:00.941-07:00",
      "updated_at": "2025-04-18T09:46:05.669-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
data
object
required