Lock a user's account
POST https://{{host}}/identity-management/v3/user-admin/ui-identities/:uiIdentityId/lock
This operation locks a user's account, preventing access to Control Center. The result shows in the user data as a read-only isLocked
: true
indicator. To allow a user access to Control Center, run the Unlock a user's account operation. This sets the isLocked
indicator to false
.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
accountSwitchKey | string | (Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys. |