---
title: "Update configuration of namespace in cluster"
method: PATCH
path: "/clusters/{clusterId}/namespaces/{namespaceId}"
tags: ["clusters"]
---

# Update configuration of namespace in cluster

`PATCH /clusters/{clusterId}/namespaces/{namespaceId}`

## Request

- Base URL: `https://pmp-demo.privateplatform.mendix.com/clusterservice/v1`
- URL: `https://pmp-demo.privateplatform.mendix.com/clusterservice/v1/clusters/{clusterId}/namespaces/{namespaceId}`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

Update configuration of the namespace in the cluster

## Path parameters

- `clusterId` string, required
- `namespaceId` string, required

## Request body

- NamespaceRequest
  - `namespace` string
  - `isShared` 'Yes' | 'No': Indicate if the namespace is shared, applicable only for Standalone mode cluster.
  - `enableSecretStore` 'Yes' | 'No'
  - `secretStoreType` 'AUTOMATIC' | 'MANUAL': Secret Store Type, applicable only for Standalone mode cluster.
  - `useCustomCoreResourcePlan` 'Yes' | 'No': Indicate if the namespace allow to use Custom Core Resource Plan, applicable only for Connected mode cluster.

## Response `200`

Namespace information

- Namespace
  - `namespaceId` string
  - `namespace` string
  - `isShared` 'Yes' | 'No': Indicate if the namespace is shared, applicable only for Standalone mode cluster.
  - `enableSecretStore` 'Yes' | 'No'
  - `secretStoreType` 'AUTOMATIC' | 'MANUAL': Secret Store Type, applicable only for Standalone mode cluster.
  - `useCustomCoreResourcePlan` 'Yes' | 'No': Indicate if the namespace allow to use Custom Core Resource Plan, applicable only for Connected mode cluster.

## Other responses

- `400`: Invalid input parameter or request body
- `401`: Authentication information is missing or invalid
- `403`: User has no permission for this operation
- `404`: Resource not found

---

[API](https://skmtc.dev/mendix/apis/cluster-service-v1.md) - [All operations](https://skmtc.dev/mendix/apis/cluster-service-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/mendix/apis/cluster-service-v1/revisions/ce8d4c9c1a02?raw)
