Lock a user's account

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.

Click Try It! to start a request and see the response here!