Skip to main content
DELETE
/
2
/
teams
/
{teamSlug}
/
environments
/
{ID}
Delete an Environment
curl --request DELETE \
  --url https://api.honeycomb.io/2/teams/{teamSlug}/environments/{ID} \
  --header 'Authorization: Bearer <token>'
{
  "status": 400,
  "type": "https://api.honeycomb.io/problems/unparseable",
  "title": "The request body could not be parsed.",
  "error": "invalid gzip data"
}

Authorizations

Authorization
string
header
required

A Honeycomb Management Key is required to use this API.

The token should be passed in the "Authorization" header, and the secret should be prefixed with "Bearer " followed by the API Key's ID and secret, separated by a colon.

For example, Authorization: Bearer hcxmk_12345678901234567890123456:12345678901234567890123456789012

More information can be found in the Manage API Keys documentation.

Path Parameters

teamSlug
string
required

The slug of the Team

ID
string
required

A unique identifier

Response

No Content