---
title: "Remove a member"
method: DELETE
path: "/api/organizations/members/{memberId}"
tags: ["Organizations"]
---

# Remove a member

`DELETE /api/organizations/members/{memberId}`

## Request

- Base URL: `https://demo.supercheck.dev`
- URL: `https://demo.supercheck.dev/api/organizations/members/{memberId}`
- Auth: API key in cookie `better-auth.session_token`

Remove a member and their project assignments in this organization. Cannot remove the owner or yourself. Only org_owner can remove org_admin members. Requires an interactive browser session. Project-scoped CLI tokens receive 403.

## Response `200`

Member removed

- object
  - `success` boolean
  - `message` string
  - `data` object
    - `memberId` string
    - `removedRole` string

## Other responses

- `400`: No active organization found
- `401`: Authentication required or token invalid
- `403`: Insufficient permissions
- `404`: Resource not found
- `500`: Internal server error

## Changes

- **2026-10-19** `bfc5fb32bad1`: 1 info
  - the endpoint scheme security `sessionCookie` was added to the API
- **2026-10-01** `0114b54c259d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/supercheck-io/apis/supercheck-api/changes/api/organizations/members/:memberId/delete.md)

---

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