---
title: "Get a banned user. Roles: admin."
method: GET
path: "/api/banned-users/{bannedUserId}"
tags: ["Banned Users"]
---

# Get a banned user. Roles: admin.

`GET /api/banned-users/{bannedUserId}`

## Path parameters

- `bannedUserId` integer, required

## Response `200`

OK

- BannedUserResponseBannedUserCore
  - `success` boolean
  - `error` string
  - `bannedUser` BannedUserCore
    - `bannedUserId` integer
    - `membershipId` integer
    - `firstName` string
    - `lastName` string
    - `lastKnownLocation` string
    - `username` string
    - `source` string
    - `audit` Audit
      - `createdTime` string, date-time
      - `modifiedTime` string, date-time
      - `modifiedBy` string
    - `isPublic` boolean

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

## Changes

- **2026-09-02** `870f28ba2607` — 5 info
  - added the optional property `error/errorId` to the response with the `400` status
  - added the optional property `error/errorId` to the response with the `401` status
  - added the optional property `error/errorId` to the response with the `403` status
  - added the optional property `error/errorId` to the response with the `404` status
  - …1 more

[Change history](https://skmtc.dev/mobilecoach/apis/untitled-api/changes/api/banned-users/:bannedUserId/get.md)

---

[API](https://skmtc.dev/mobilecoach/apis/untitled-api.md) · [All operations](https://skmtc.dev/mobilecoach/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mobilecoach/untitled-api/revisions/870f28ba2607/schema)
