Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Resource UUID
Response
environment deleted
Delete a specific environment by id
curl --request DELETE \
--url https://api.rootly.com/v1/environments/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "909557e5-778c-42c9-b823-4bacb28694cc",
"type": "environments",
"attributes": {
"slug": "quibusdam-sit-et-cum",
"name": "Quibusdam sit et cum.",
"description": "Vel odio minima rerum.",
"color": "#3e4c4c",
"position": 1,
"notify_emails": [],
"slack_channels": [],
"slack_aliases": [],
"created_at": "2025-09-18T00:24:40.871-07:00",
"updated_at": "2025-09-18T00:24:43.785-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Resource UUID
environment deleted
Show child attributes
Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/environments/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "909557e5-778c-42c9-b823-4bacb28694cc",
"type": "environments",
"attributes": {
"slug": "quibusdam-sit-et-cum",
"name": "Quibusdam sit et cum.",
"description": "Vel odio minima rerum.",
"color": "#3e4c4c",
"position": 1,
"notify_emails": [],
"slack_channels": [],
"slack_aliases": [],
"created_at": "2025-09-18T00:24:40.871-07:00",
"updated_at": "2025-09-18T00:24:43.785-07:00"
}
}
}