cURL
curl --request DELETE \ --url http://sandbox.mintlify.com/organizations/{id}/members/{memberId} \ --header 'Authorization: Bearer <token>'
⚠️ SECURITY: Only OWNERS and ADMINS can remove members. The organization OWNER cannot be removed.
curl -X DELETE http://localhost:3001/api/organizations/550e8400-e29b-41d4-a716-446655440000/members/123 \ -H "Authorization: Bearer <token>"
MemberRemovedEvent
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Member removed successfully from the organization.