---
title: "Remove cluster namespaces from group"
method: DELETE
path: "/groups/{groupId}/namespaces"
tags: ["groups"]
---

# Remove cluster namespaces from group

`DELETE /groups/{groupId}/namespaces`

## Request

- Base URL: `https://pmp-demo.privateplatform.mendix.com/groupservice/v2`
- URL: `https://pmp-demo.privateplatform.mendix.com/groupservice/v2/groups/{groupId}/namespaces`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

Remove specified cluster namespaces from the group

## Path parameters

- `groupId` string, required

## Request body

- NamespacesRemoveRequest[]
  - `deployMethod` 'Standalone' | 'Connected': Deployment method for the namespace
  - `clusterName` string: Name of the cluster
  - `namespace` string: Name of the namespace

## Response `204`

Cluster namespaces removed successfully, no content in response body

## 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/group-service-v2.md) - [All operations](https://skmtc.dev/mendix/apis/group-service-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/mendix/apis/group-service-v2/revisions/77591db6a820?raw)
