[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager

Update Local User Password V2

Description

This API is used to update local user password.

Request

Request

URL

URL


put
https://localhost:8080/lcm/authzn/api/v2/users/password
Copy

Request Body

Request Body

LocalUserCredsDTO of type(s) application/json Required

passwordUpdateRequestDTO

{
    "password": "locker:password:<vmid>:<alias>",
    "username": "admin@local"
}
string
password Optional

Password


string
username Optional

Local username

Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

200 OK

Returns LocalUserCredsDTO of type(s) application/json
{
    "password": "locker:password:<vmid>:<alias>",
    "username": "admin@local"
}
string
password Optional

Password


string
username Optional

Local username


201 Created

Created

Errors

Errors

401

Unauthorized


403

Forbidden


404

Not Found


GenericErrorResponseDTO
500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"password":"locker:password:<vmid>:<alias>","username":"admin@local"}' https://localhost:8080/lcm/authzn/api/v2/users/password


Feedback

Was this page helpful?