Lock a user's account

This operation locks a user's account, preventing access to Control Center. To allow a user access to Control Center, run the Unlock a user's account operation. To learn more, see Temporary account lockout.

Path Params
string
required

Unique identifier for each user. To get this value, run the List users operation.

Query Params
string

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.

Response
204

User account successfully locked.

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!