> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getbutter.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove Member

Remove a member from your organization. Organization owners cannot be removed, and the last admin cannot be removed without promoting another member to admin first.

### Request

<ParamField path="membership_id" type="string" required>
  The unique identifier of the membership to remove.
</ParamField>

<ParamField header="X-Organization-Id" type="string" required>
  The unique identifier of the organization.
</ParamField>

### Response

<ResponseField name="success" type="boolean">
  Indicates whether the operation was successful.
</ResponseField>

<ResponseField name="message" type="string">
  A descriptive message about the operation result.
</ResponseField>

<ResponseExample>
  ```json Response theme={null}
  {
    "success": true,
    "message": "Member removed from organization"
  }
  ```
</ResponseExample>
