Skip to Content
kosemdocs
ReferenceAPIMembers

Delete member

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

DELETE
/v1/organizations/{organization}/members/{member}

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

Authorization

bearer
headerAuthorizationBearer <token>

An access token, or an API key.

Path Parameters

organization*string

The organization's ID.

Match^org_[0-7][0-9a-hjkmnp-tv-z]{25}$
member*string

The member's user ID.

Match^usr_[0-7][0-9a-hjkmnp-tv-z]{25}$

Response Body

No Content

Example Request
curl -X DELETE 'https://api.kosem.ai/v1/organizations/string/members/string'
Example Response
Empty