---
title: "Create an Environment"
method: POST
path: "/2/teams/{teamSlug}/environments"
tags: ["Environments"]
---

# Create an Environment

`POST /2/teams/{teamSlug}/environments`

## Response `201`

Created

## Other responses

- `400` — The provided request body was invalid.
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `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)
