---
title: "Remove organization member"
method: DELETE
path: "/api/v1/organizations/{orgId}/members/{userId}"
tags: ["Organizations"]
---

# Remove organization member

`DELETE /api/v1/organizations/{orgId}/members/{userId}`

## Request

- Base URL: `https://xga-auction-system.workers.dev`
- URL: `https://xga-auction-system.workers.dev/api/v1/organizations/{orgId}/members/{userId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/manifoldfinance/apis/xga-auction-system-api/docs/api/v1/organizations/:orgId/members/:userId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Remove a user from an organization

## Path parameters

- `orgId` string, required
- `userId` string, required

## Response `200`

Returns the Object if it was successfully deleted

- object
  - `success` boolean, required
  - `result` object, required
    - `orgId` string, required
    - `userId` string, required
    - `role` 'owner' | 'admin' | 'member', required
    - `invitedBy` string, nullable, required
    - `joinedAt` number, required

## Other responses

- `404`: Not Found

---

[API](https://skmtc.dev/manifoldfinance/apis/xga-auction-system-api.md) - [All operations](https://skmtc.dev/manifoldfinance/apis/xga-auction-system-api/llms.txt) - [OpenAPI document](https://skmtc.dev/manifoldfinance/apis/xga-auction-system-api/revisions/329190dccb50?raw)
