---
title: "Remove Organization Member"
method: DELETE
path: "/api/v1/organizations/members/{user_id}"
tags: ["Team Management"]
---

# Remove Organization Member

`DELETE /api/v1/organizations/members/{user_id}`

Removes a user from your organization. Also cleans up any stray website_members rows for that user across all websites in the organization within a single transaction. Requires a global API key. Cannot remove the API key's owning user, the organization owner, or the last remaining admin.

## Response `200`

Member removed successfully

- object
  - `success` boolean, required
  - `message` string, required
  - `websites_affected` integer, required — Number of stray website_members rows that were cleaned up as part of the cascade.

## Other responses

- `400` — Bad request - Invalid user ID format
- `401` — Unauthorized - Invalid or missing API key
- `403` — Forbidden - Not a global key, self-modification, or owner modification
- `404` — Not found - Organization member does not exist
- `409` — Conflict - Cannot remove the last remaining admin
- `500` — Internal server error

---

[API](https://skmtc.net/athenahq/apis/athenahq-api.md) · [All operations](https://skmtc.net/athenahq/apis/athenahq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/athenahq/athenahq-api/revisions/6c5d71622cb9/schema)
