PATCH Users User Id Password
Modifies the password or status of the user. If new password is provided, user will still be unlocked
The unique identifier of the user.
{
"password": "newPassword",
"unlock": true
}
Required parameters successfully updated
Bad request
{
"errorMessage": "Some fields have incorrect values",
"errorCode": "FIELD_ERROR",
"errorDetails": {
"password": [
{
"errorCode": "com.vmware.loginsight.api.errors.field_password_not_secure",
"errorMessage": "Password must have only visible ASCII characters including space, must be at least 8 characters long and contain one uppercase, one lowercase, one number and one special character."
}
]
}
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
A user with the given identifier was not found.
{
"errorMessage": "Specified user does not exist.",
"errorCode": "RBAC_USERS_ERROR",
"errorDetails": {
"errorCode": "com.vmware.loginsight.api.errors.rbac.user_does_not_exist"
}
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]'