---
title: "Remove a member from a group (team)"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.cloudraker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove a member from a group (team)

Path: CloudRaker Workspace API › Authorization

`DELETE /authorization/groups/{groupId}/members/{om}`

Removes the organization membership named by the `:om` path parameter from the group named by `:groupId`, revoking the grants inherited from the group. Authorization: organization administrators only — other callers get 403. Returns 204 No Content on success.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `groupId` (`removeGroupMember.path.groupId`; string, required)
- `om` (`removeGroupMember.path.om`; string, required)

## Code samples

### cURL

```bash
curl --request DELETE \
  --url 'https://api.cloudraker.com/authorization/groups/<groupId>/members/<om>' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/authorization/groups/<groupId>/members/<om>';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/authorization/groups/<groupId>/members/<om>"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.text)
```

## Responses

### 204

The member was removed from the group

### 403

Caller is not an org admin


Source: https://docs.cloudraker.com/workspace/api/authorization/remove-group-member/index.md
