Delete a specific environment by id
curl --request DELETE \
--url https://api.rootly.com/v1/environments/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"type": "environments",
"attributes": {
"name": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"slug": "<string>",
"description": "<string>",
"notify_emails": [
"<string>"
],
"color": "<string>",
"position": 123,
"slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
],
"slack_aliases": [
{
"id": "<string>",
"name": "<string>"
}
],
"fields": [
{
"catalog_field_id": "<string>",
"value": "<string>"
}
]
}
}
}Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/environments/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"type": "environments",
"attributes": {
"name": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"slug": "<string>",
"description": "<string>",
"notify_emails": [
"<string>"
],
"color": "<string>",
"position": 123,
"slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
],
"slack_aliases": [
{
"id": "<string>",
"name": "<string>"
}
],
"fields": [
{
"catalog_field_id": "<string>",
"value": "<string>"
}
]
}
}
}