---
title: "Create cluster"
method: POST
path: "/api/v1/orgs/{orgId}/clusters"
tags: ["clusters"]
---

# Create cluster

`POST /api/v1/orgs/{orgId}/clusters`

Create a new K8S cluster in the cloud

## Path parameters

- `orgId` integer, required

## Request body

- object

## Response `202`

Cluster created successfully

- CreateClusterResponse202
  - `name` string
  - `id` integer

## Other responses

- `default` — Internal server error

## Changes

- **2020-04-24** `5186ea64aa56` — 1 breaking
  - removed the success response with the status `201`

[Change history](https://skmtc.dev/banzaicloud/apis/pipeline-api/changes/api/v1/orgs/:orgId/clusters/post.md)

---

[API](https://skmtc.dev/banzaicloud/apis/pipeline-api.md) · [All operations](https://skmtc.dev/banzaicloud/apis/pipeline-api/llms.txt) · [OpenAPI document](https://skmtc.dev/banzaicloud/apis/pipeline-api/revisions/d4abec32d729?raw)
