Unlock Users
/cloudapi/restapi/user/change-lock
Request
object
-
admin:
boolean
-
changePwdAtNextLogin:
boolean
-
createdBy:
string
-
createdDate:
object CloudTZDateTime
-
deprovisionedDate:
string(date-time)
-
deprovisioningDate:
string(date-time)
-
disabled(required):
boolean
-
emailAddress(required):
string
-
employeeNumber:
string
-
endDate:
string(date-time)
-
firstName(required):
string
-
id:
string
-
lastName(required):
string
-
locked:
boolean
-
loginAttemptsCtr:
string
-
loginId(required):
string
-
manager:
string
-
middleName:
string
-
organization(required):
object Organization
-
password:
array password
-
processed:
boolean
-
provisionedDate:
string(date-time)
-
provisioningDate:
string(date-time)
-
pwdCantChange:
boolean
-
pwdExpired:
boolean
-
pwdExpireDate:
string(date-time)
-
pwdWarnDate:
string(date-time)
-
pwdWarned:
boolean
-
roles:
array roles
-
startDate:
string(date-time)
-
status:
string
-
statusInfo:
string
-
statusInfoOK:
boolean
-
updatedDate:
object CloudTZDateTime
-
userType:
string
object
-
associations:
array associations
Unique Items Required:
true
-
bidderCompany:
boolean
-
createdBy:
string
-
createdDate:
string(date-time)
-
displayName(required):
string
-
id(required):
string
-
inheritedPolicy:
boolean
-
isDeletable:
boolean
-
name(required):
string
-
parentId:
string
-
parentName:
string
-
processed:
boolean
-
pwdPolicy:
object PwdPolicy
-
status:
string
-
statusInfo:
string
-
type:
string
-
updatedBy:
string
-
updatedDate:
string(date-time)
Response
- application/json
200 Response
object
400 Response
500 Response
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": ""
}