Remove a team member
DELETE/members/:member_id
Removes a person's membership of your organization. Their platform account is not deleted.
Requires the admin role. The last owner cannot be removed
(last_owner_protected).
Refuses API keys. This endpoint is reachable only by a signed-in
person; an API key receives 403 with the code
unauthorized_principal_kind.
Request
Responses
- 200
- 401
- 403
- 404
- 503
The membership was removed
Not authenticated
An API key was presented (unauthorized_principal_kind), the
caller is not an admin, or the target is the last owner
(last_owner_protected).
No such membership in this organization
The platform identity service is unavailable or the organization is not provisioned