Skip to main content
DELETE /api/v1/members/{id} Requires members.remove permission. Removes the specified membership record from the current organization.

Path parameters

id
string
required
UUID of the membership record to remove.

Response

deleted
boolean
required
Always true on success.

Errors

StatusWhen
400Invalid path parameter
401Missing or invalid Bearer token
403Caller lacks members.remove permission
404Member not found
409Cannot remove the last owner of an organization

Example

curl -X DELETE http://localhost:8080/api/v1/members/m1b2c3d4-e5f6-7890-abcd-ef1234567890 \
  -H "Authorization: Bearer <token>"
{
  "deleted": true
}

Build docs developers (and LLMs) love