---
title: "Retrieve namespace of the cluster"
method: GET
path: "/clusters/{clusterId}/namespaces/{namespaceId}"
tags: ["clusters"]
---

# Retrieve namespace of the cluster

`GET /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`

Retrieve namespace of the cluster by id

## Path parameters

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

## 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)
