DELETE
/
v1
/
environments
/
{id}
curl --request DELETE \
  --url https://api.rootly.com/v1/environments/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "f09bfbc4-dafc-48ff-a432-1dacbe1c4c7e",
    "type": "environments",
    "attributes": {
      "slug": "placeat-et-omnis-dolores",
      "name": "Placeat et omnis dolores.",
      "description": "Sequi dolores et molestiae.",
      "color": "#835d83",
      "position": 1,
      "notify_emails": [],
      "slack_channels": [],
      "slack_aliases": [],
      "created_at": "2025-05-08T00:17:42.217-07:00",
      "updated_at": "2025-05-08T00:17:47.312-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

The response is of type object.