Logo
Akamai APIs API Documentation

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.

 

Body PARAM

Key Datatype Required Description 
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X POST 'https://host/identity-management/v3/user-admin/ui-identities/:uiIdentityId/lock?accountSwitchKey='

ENDPOINTS