---
title: "List the user IDs currently banned from a group chat"
method: GET
path: "/v1/chat/rooms/{roomId}/banned-members"
tags: ["chat"]
---

# List the user IDs currently banned from a group chat

`GET /v1/chat/rooms/{roomId}/banned-members`

## Request

- Base URL: `https://app.legend.trade/api/rest`
- URL: `https://app.legend.trade/api/rest/v1/chat/rooms/{roomId}/banned-members`
- Auth: HTTP bearer

## Path parameters

- `roomId` string, uuid, required

## Response `200`

Successful response

- BannedMembersOutput
  - `bannedUserIds` string[], required

## Other responses

- `400`: Invalid input data
- `401`: Authorization not provided
- `403`: Insufficient access
- `404`: Not found
- `500`: Internal server error

---

[API](https://skmtc.dev/legend/apis/legend-api.md) - [All operations](https://skmtc.dev/legend/apis/legend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/legend/apis/legend-api/revisions/c3e45061cf81?raw)
