Ana içeriğe geç

Enable or disable a member (admin only)

PUT 

/api/users/:userId/status

Toggles a team member between active and disabled. ADMIN-ONLY. Disabling syncs the membership directory so the account can no longer log into this tenant. The owner and the last active admin are protected (422).

Request​

Responses​

The updated member.