Unlock Users

put

/cloudapi/restapi/user/change-lock

This operation unlocks a set of locked user accounts.

Request

Body ()
Root Schema : List<UserRO>
Type: array
Title: List<UserRO>
Show Source
Nested Schema : User
Type: object
Show Source
Nested Schema : CloudTZDateTime
Type: object
Show Source
Nested Schema : Organization
Type: object
Show Source
Nested Schema : password
Type: array
Show Source
Nested Schema : roles
Type: array
Show Source
Nested Schema : associations
Type: array
Unique Items Required: true
Show Source
Nested Schema : PwdPolicy
Type: object
Show Source
Nested Schema : Role
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : schema
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: object

400 Response

Invalid input, Please check.

500 Response

Internal Server Error. Underlying Identity Management System threw an error, Please check the logs.
Back to Top

Examples

Method

PUT

Response Content Type

application/json

Operation

/cloudapi/restapi/user/change-lock

cURL Example

REQUEST URL: http://<hostname>:<port>/cloudapi/restapi/user/change-lock

curl -X PUT http://<hostname>:<port>/cloudapi/restapi/user/change-lock -H 'accept: application/json' -H 'content-type: application/json' -d

'[{"loginId":"JSMITH","locked":true,"id":"3336"},

{"loginId":"DPATEL","locked":true,"id":"3449"}

]'

Request Body Example

[{"loginId":"JSMITH","locked":true,"id":"3336"},

{"loginId":"DPATEL","locked":true,"id":"3449"}

]

Response Body Example

{

"3446": "",

"3449": ""

}

Back to Top