[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Update Node Password Request V2
DescriptionThis API is used to update product node password.
Request
URLURL
https://localhost:8080/lcm/lcops/api/v2/environments/{environmentId}/products/{productId}/nodes/{nodeType}
Path Parameters
Path Parameters
string
environmentId
Required
environmentId
string
nodeType
Required
nodeType
string
productId
Required
productId
Query Parameters
Query Parameters
string
tenantId
Optional
tenantId
Request Body
Request Body
{
"currentPassword": "locker:password:<vmid>:<alias>",
"hostName": "<fully qualified domain name of the node>",
"newPassword": "locker:password:<vmid>:<alias>",
"userNameToUpdate": "root"
}
string
currentPassword
Optional
Current Node Password
string
hostName
Optional
FQDN of the node
string
newPassword
Optional
New Node Password
string
userNameToUpdate
Optional
Node username
Authentication
This operation uses the following authentication methods.
Authorization
Scopes:
global
Response
Response
Response BodyResponse Body
200 OK
Returns
GenericRequestResponse
of type(s) application/json
{
"requestId": "a0d8d8cd-ac87-4b5c-ba8b-7a0173c56b55"
}
string
requestId
Optional
Request ID
201 Created
Created
Operation doesn't return any data structure.
Errors
GenericErrorResponseDTO
400
Bad Request
401
Unauthorized
GenericErrorResponseDTO
403
Forbidden
GenericErrorResponseDTO
404
Not Found
GenericErrorResponseDTO
500
Internal Server Error
Code Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"currentPassword":"locker:password:<vmid>:<alias>","hostName":"<fully qualified domain name of the node>","newPassword":"locker:password:<vmid>:<alias>","userNameToUpdate":"root"}' https://localhost:8080/lcm/lcops/api/v2/environments/{environmentId}/products/{productId}/nodes/{nodeType}
[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
On This Page
Deployments Controller Operations
delete
delete
post
post