Skip to content

Remove a member from an organization

DELETE
/organizations/{org_id}/members/{user_id}
curl --request DELETE \
--url https://api.perstat.io/organizations/example/members/example \
--header 'Authorization: Bearer <token>'

Removes a user’s membership from the organization. The user_id path segment is the user’s public id, not an email. Requires member management rights, cannot target members at or above the caller’s own role level, and refuses to remove the last remaining owner with 409.

org_id
required
string
user_id
required
string