Remove a member, or leave the organization
Removing someone else needs members:write. LEAVING is this same call on yourself (user_id is your own user id, as GET /v1/me says it): any member may leave, whatever their role and without members:write, with a person's access token; a service-account key is never a member, so it always needs members:write (missing_scope). The last owner cannot leave (last_owner: give the owner role to another member first). Like every membership write it goes to the live organization. The service accounts and keys that person created keep working: they belong to the organization. The member.removed event carries the membership as it was, without person, and by: self when the person left, member when another member removed them.
https://api.invox.page/v1/members/{user_id}Authorization
Path parameters
Header parameters
Returns
204
The person is not a member (now, or already).