Delete a specific environment by id
curl --request DELETE \
--url https://api.rootly.com/v1/environments/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "82418660-a7bc-4bc4-9d79-09c7136f5857",
"type": "environments",
"attributes": {
"slug": "qui-qui-dolorem-omnis",
"name": "Qui qui dolorem omnis.",
"description": "Repudiandae eveniet eaque rerum.",
"color": "#f5fafa",
"position": 1,
"notify_emails": [],
"slack_channels": [],
"slack_aliases": [],
"created_at": "2025-08-21T17:47:38.349-07:00",
"updated_at": "2025-08-21T17:47:41.259-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Resource UUID
environment deleted
The response is of type object
.
Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/environments/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "82418660-a7bc-4bc4-9d79-09c7136f5857",
"type": "environments",
"attributes": {
"slug": "qui-qui-dolorem-omnis",
"name": "Qui qui dolorem omnis.",
"description": "Repudiandae eveniet eaque rerum.",
"color": "#f5fafa",
"position": 1,
"notify_emails": [],
"slack_channels": [],
"slack_aliases": [],
"created_at": "2025-08-21T17:47:38.349-07:00",
"updated_at": "2025-08-21T17:47:41.259-07:00"
}
}
}