---
title: "Update control plane"
method: PATCH
path: "/v1/mesh/control-planes/{cpId}"
tags: ["Mesh"]
---

# Update control plane

`PATCH /v1/mesh/control-planes/{cpId}`

Update an individual control plane.

## Request body

- UpdateMeshControlPlaneRequest — a payload to update the control plane
  - `name` string — The name of the control plane.
  - `description` string
  - `labels` MeshControlPlaneLabels, nullable — Labels to facilitate tagged search on control planes. Keys must be of length 1-63 characters.

## Response `200`

A response to updating a control plane.

- MeshControlPlane — a control plane
  - `id` string, uuid, required — ID of the control plane.
  - `name` string, required — The name of the control plane.
  - `description` string
  - `labels` MeshControlPlaneLabels, nullable — Labels to facilitate tagged search on control planes. Keys must be of length 1-63 characters.
  - `features` MeshControlPlaneFeature[]
    - `type` 'MeshCreation' | 'HostnameGeneratorCreation', required
    - `hostnameGeneratorCreation` MeshControlPlaneFeatureHostnameGenerationCreation
      - `enabled` boolean, required
    - `meshCreation` MeshControlPlaneFeatureMeshCreation
      - `enabled` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400` — Validation Error
- `401` — Unauthorized Error
- `403` — Permission denied
- `404` — Not found

## Changes

- **2025-03-13** `ddd4be7ea073` — 2 info
  - the response required property `created_at` became read-only for the status `200`
  - the response required property `updated_at` became read-only for the status `200`
- **2025-03-05** `ceb048468954` — 1 info
  - added the optional property `features` to the response with the `200` status
- **2025-02-10** `d833d4dbb1fa` — 1 warning
  - added the new `missing_reference` enum value to the `allOf[subschema #2]/invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule` response property for the response status `400`
- **2024-12-13** `8aedc289a938` — 1 breaking, 1 info
  - added the pattern `^[a-z0-9A-Z]{1}.*$` to the request property `name`
  - the `name` response's property pattern `^[a-z0-9A-Z]{1}.*$` was added for the status `200`
- …earlier changes not shown

[Full history](https://skmtc.dev/kong/apis/konnect-api/changes/v1/mesh/control-planes/:cpId/patch.md)

---

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