Skip to main content
PATCH
/
2
/
teams
/
{teamSlug}
/
environments
/
{ID}
Update an Environment
curl --request PATCH \
  --url https://api.honeycomb.io/2/teams/{teamSlug}/environments/{ID} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '
{
  "data": {
    "id": "<string>",
    "attributes": {
      "description": "<string>",
      "settings": {
        "delete_protected": true
      }
    }
  }
}
'
{
  "data": {
    "id": "<string>",
    "links": {
      "self": "<string>"
    },
    "attributes": {
      "name": "<string>",
      "description": "<string>",
      "slug": "<string>",
      "settings": {
        "delete_protected": true
      }
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.honeycomb.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authenticate using a Honeycomb Management Key.

Pass the Management Key as a Bearer token in the Authorization header:

Authorization: Bearer hcxmk_12345678901234567890123456:12345678901234567890123456789012

Construct the key value by joining the Key ID and Secret with a colon (:).

To learn how to create a Management Key, visit Manage Team API Keys. To learn more about authenticating requests, visit API Authentication.

Path Parameters

teamSlug
string
required

The slug of the Team

ID
string
required

A unique identifier

Body

application/vnd.api+json
data
object
required

Response

Success

data
object
required