---
title: "Delete an organization membership"
method: DELETE
path: "/v3/organization_memberships/{identifier}"
tags: ["Add x-hidden to endpoints"]
---

# Delete an organization membership

`DELETE /v3/organization_memberships/{identifier}`

## Request

- Base URL: `https://api.affinda.com`
- URL: `https://api.affinda.com/v3/organization_memberships/{identifier}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/affinda/apis/affinda-api-2/docs/v3/organization_memberships/:identifier/delete.ts> (a function with typed inputs; its response is checked against the schema)

The admin users can use this endpoint to remove member from their organization. Other users can also use this to leave their organization.

## Path parameters

- `identifier` string, required: A random string that uniquely identify the resource.

## Response `204`

Delete successful, no content returned

## Other responses

- `400`: Bad request. If it is a validation error will contain a list of each invalid field
- `401`: Authorisation error
- `default`: UnexpectedError

## Changes

- **2025-11-20** `978cf99a2ac0`: 2 info
  - api tag `Add x-hidden to endpoints` added
  - api tag `Organization API - Membership` removed

[Operation history](https://skmtc.dev/affinda/apis/affinda-api-2/changes/v3/organization_memberships/:identifier/delete.md)

---

[API](https://skmtc.dev/affinda/apis/affinda-api-2.md) - [All operations](https://skmtc.dev/affinda/apis/affinda-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/affinda/apis/affinda-api-2/revisions/a180d9191a03?raw)
