Change HCX Appliance user password

Change HCX Appliance user password

Api to Change HCX Appliance user password

Request
URI
PUT
https://{api_host}/system/users/changePassword
COPY
Header Parameters
string
Accept
Required

application/json

string
Content-Type
Required

application/json


Request Body
{
    "userName": "string",
    "oldPassword": "Base64 Encoded",
    "newPassword": "PasswordType Object"
}
string
userName
Required

userName

oldPassword
Required

Password

newPassword
Required

Password

Authentication
This operation uses the following authentication methods.
Responses
200

Status 200

{
    "isSuccess": false,
    "message": "string",
    "httpStatusCode": "string"
}
boolean
isSuccess
Required

isSuccess

string
message
Required

message

string
httpStatusCode
Required

httpStatusCode


Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"userName:"string","oldPassword:"string","newPassword":"{}"}' https://{api_host}/system/users/changePassword