Validate Product Data Source Password Request V2 Using POST
This API is used to validate product data source.
Request
URI
POST
https://{api_host}//localhost:8080/lcm/lcops/api/v2/environments/{environmentId}/products/{productId}/data-sources/pre-validate
COPY
Path Parameters
string
environmentId
Required
environmentId
string
productId
Required
productId
Request Body
updateDataSourcePasswordRequestDTO
UpdateDataSourceRequestDTO of type(s) application/json
Required
{
"currentPassword": "locker:password:<vmid>:<alias>",
"dataSourceIpList": [],
"newPassword": "locker:password:<vmid>:<alias>",
"userNameToUpdate": "root"
}
string
currentPassword
Optional
Current Password
array of string
dataSourceIpList
Optional
Data Source IP List
string
newPassword
Optional
New Password
object
properties
Optional
Properties
string
userNameToUpdate
Optional
User Name to Update
Responses
200
OK
Returns GenericRequestResponse of type(s) application/json
{
"requestId": "a0d8d8cd-ac87-4b5c-ba8b-7a0173c56b55"
}
string
requestId
Optional
Request ID
201
Created
Operation doesn't return any data structure
400
Bad Request
Returns GenericErrorResponseDTO of type(s) application/json
{
"errorCode": "LCM_EXAMPLE_API_ERROR0000",
"errorLabel": "Example Error!",
"message": "Something went wrong!",
"recommendations": []
}
string
errorCode
Optional
errorCode
string
errorLabel
Optional
errorLabel
string
message
Optional
message
array of string
recommendations
Optional
recommendations
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Returns GenericErrorResponseDTO of type(s) application/json
{
"errorCode": "LCM_EXAMPLE_API_ERROR0000",
"errorLabel": "Example Error!",
"message": "Something went wrong!",
"recommendations": []
}
string
errorCode
Optional
errorCode
string
errorLabel
Optional
errorLabel
string
message
Optional
message
array of string
recommendations
Optional
recommendations
404
Not Found
Returns GenericErrorResponseDTO of type(s) application/json
{
"errorCode": "LCM_EXAMPLE_API_ERROR0000",
"errorLabel": "Example Error!",
"message": "Something went wrong!",
"recommendations": []
}
string
errorCode
Optional
errorCode
string
errorLabel
Optional
errorLabel
string
message
Optional
message
array of string
recommendations
Optional
recommendations
500
Internal Server Error
Returns GenericErrorResponseDTO of type(s) application/json
{
"errorCode": "LCM_EXAMPLE_API_ERROR0000",
"errorLabel": "Example Error!",
"message": "Something went wrong!",
"recommendations": []
}
string
errorCode
Optional
errorCode
string
errorLabel
Optional
errorLabel
string
message
Optional
message
array of string
recommendations
Optional
recommendations
On This Page
Deployments Controller Operations
POST
Apply Product Patch V2 Using POST
POST
Check Product Health V2 Using POST
POST
Create Product Snapshot Request V2 Using POST
PUT
Create Product Update Certificate Request V2 Using PUT
POST
Create Product Upgrade Request V2 Using POST
DELETE
Delete Product Data Source Request V2 Using DELETE
DELETE
Delete Product Logs Using DELETE
DELETE
Delete Product V2 Using DELETE
GET
Download Product Logs V2 Using GET
GET
Export Product V2 Using GET
POST
Generate Product Logs V2 Using POST
GET
Get All Product Snapshots V2 Using GET
GET
Get Compatablity Matrix V2 Using GET
GET
Get Deployed Product Vms V2 Using GET
GET
Get Product Certificate V2 Using GET
GET
Get Product Details V2 Using GET
GET
Get Product Patch Details V2 Using GET
GET
Get Product Snapshot By Snapshot Name V2 Using GET
POST
Power On Product V2 Using POST
POST
Revert Product Snapshot Request V2 Using POST
POST
Shut Down Product V2 Using POST
POST
Trigger Inventory Sync For Product V2 Using POST
PUT
Update Node Password Request V2 Using PUT
PUT
Update Product Admin Password Request V2 Using PUT
PUT
Update Product Data Source Password Request V2 Using PUT
POST
Validate Patch Product V2 Using POST
POST
Validate Product Data Source Password Request V2 Using POST
POST
Validate Product Update Certificate Request V2 Using POST
POST
Validate Vertical Scale Up Request V2 Using POST
POST
Vertical Scale Up Request V2 Using POST