Delete a specific environment by id
curl --request DELETE \
--url https://api.rootly.com/v1/environments/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "2fc587fe-3812-408e-991f-ccbc4a2faa87",
"type": "environments",
"attributes": {
"slug": "maiores-eos-earum-qui",
"name": "Maiores eos earum qui.",
"description": "Perspiciatis sint non consequatur.",
"color": "#e5ebeb",
"position": 1,
"notify_emails": [],
"slack_channels": [],
"slack_aliases": [],
"created_at": "2025-12-07T22:30:40.337-08:00",
"updated_at": "2025-12-07T22:30:41.765-08:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Resource UUID
environment deleted
Show child attributes
Unique ID of the environment
environments Show child attributes
The name of the environment
Date of creation
Date of last update
The slug of the environment
The description of the environment
Emails attached to the environment
The hex color of the environment
Position of the environment
Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/environments/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "2fc587fe-3812-408e-991f-ccbc4a2faa87",
"type": "environments",
"attributes": {
"slug": "maiores-eos-earum-qui",
"name": "Maiores eos earum qui.",
"description": "Perspiciatis sint non consequatur.",
"color": "#e5ebeb",
"position": 1,
"notify_emails": [],
"slack_channels": [],
"slack_aliases": [],
"created_at": "2025-12-07T22:30:40.337-08:00",
"updated_at": "2025-12-07T22:30:41.765-08:00"
}
}
}