---
title: "Update an Environment"
method: PATCH
path: "/2/teams/{teamSlug}/environments/{ID}"
tags: ["Environments"]
---

# Update an Environment

`PATCH /2/teams/{teamSlug}/environments/{ID}`

## Response `200`

Success

## Other responses

- `400` — The provided request body was invalid.
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `413` — The provided request body was over the maximum allowed size.
- `415` — The provided request body had an invalid Content-Type.
- `422` — Validation Failed
- `429` — Rate Limit Exceeded
- `500` — InternalError

---

[API](https://skmtc.net/honeycomb/apis/honeycomb-api.md) · [All operations](https://skmtc.net/honeycomb/apis/honeycomb-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/honeycomb/honeycomb-api/revisions/117619fac2a5/schema)
