Remove a member from an organization
/api/v1/organizations/{id}/members/{identityId}Removes the member from this organization, revoking their role here and nothing else — the identity and its memberships in other organizations are untouched. Returns 404 when the identity is not a member. Responds 204 No Content, requires the rbac.manage_assignments permission at the organization, and emits organization.member.removed.
Authentication
Bearer Token
Authorization Option A JWT access token
API Key
X-API-Key Option B API key for management-tier access
Path Parameters
idstring Required identityIdstring Required Responses
Member removed
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
curl -X DELETE "https://auth.canopy-io.com/api/v1/organizations/value/members/value" \ -H "X-API-Key: $CANOPY_API_KEY"
HTTP/1.1 204 Member removed (empty body)
Tell us how we can improve this guide.