---
title: "Create One Flex Cluster in One Project"
method: POST
path: "/api/atlas/v2/groups/{groupId}/flexClusters"
tags: ["Flex Clusters"]
---

# Create One Flex Cluster in One Project

`POST /api/atlas/v2/groups/{groupId}/flexClusters`

Creates one flex cluster in the specified project.

## Path parameters

- `groupId` string, required

## Query parameters

- `envelope` boolean
- `pretty` boolean

## Response `201`

Created

## Other responses

- `400` — Bad Request.
- `401` — Unauthorized.
- `402` — Payment Required.
- `403` — Forbidden.
- `404` — Not Found.
- `409` — Conflict.
- `429` — Too Many Requests.
- `500` — Internal Server Error.

---

[API](https://skmtc.dev/mongodb/apis/atlas-admin-api.md) · [All operations](https://skmtc.dev/mongodb/apis/atlas-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mongodb/atlas-admin-api/revisions/e37e8ef8429f/schema)
