# Delete member

`DELETE /v1/organizations/{organization}/members/{member}`, operation `members.DeleteMember`

Removes a member or guest from an organization, together with every role they hold in it. The organization's only owner cannot be removed.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `organization` | path | Yes | `string` | The organization's ID. |
| `member` | path | Yes | `string` | The member's user ID. |

## Responses

### 204

No Content

### default

Error

Base URL: `https://api.kosem.ai`. See [API conventions](https://docs.kosem.ai/reference/api-conventions.md) for authentication, pagination and errors, and [https://docs.kosem.ai/openapi.yaml](https://docs.kosem.ai/openapi.yaml) for the full OpenAPI document.