Unlock a User

Unlocks a locked user.

Request URL

POST {base_url}/uc-user/api/v1/admin/security/unlock

Request parameters

Headers
Parameter Required Type Description
Authorization Yes String The access token used for authentication.

Format: Bearer {access_token}.

Query parameters
Parameter Required Type Description
username Yes String The username of the user to unlock.

Response parameters

Parameter Type Description
requestId String The unique ID of the request, which can be used to quickly locate the request.
code String The HTTP status code of the request.
  • 200: Request succeeded.
  • Non-200 value: Request failed.
message String The status message of the request.
detailMessage String The detailed error information.

When the request is successful, this parameter returns empty.

result Object The result of the operation. An empty result is returned when the operation succeeds.