---
title: "Remove scope member"
method: DELETE
path: "/scopes/{scope}/members/{userId}"
---

# Remove scope member

`DELETE /scopes/{scope}/members/{userId}`

Removes a member from a scope

## Path parameters

- `scope` string, required — The name of a scope. This must not be @ prefixed.
- `userId` string, uuid, required — The ID of a user.

## Response `204`

OK, no content

## Other responses

- `400` — Invalid request / Can not remove last scope admin
- `401` — Unauthorized
- `403` — User is not a scope admin
- `404` — Scope or scope member not found

## Changes

- **2026-02-06** `0c4e8d8a5c2a` — 1 warning
  - changed the pattern of the `path` request parameter `scope` from `/^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/` to `^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$`
- **2024-02-28** `f8d3b912d946` — 1 warning
  - changed the pattern of the `path` request parameter `scope` from `^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$` to `/^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/`

[Change history](https://skmtc.dev/jsr-io/apis/jsr-api/changes/scopes/:scope/members/:userId/delete.md)

---

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