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

Update Product Data Source Password Request V2

Description

This API is used to update product data source.

Request

Request

URL

URL


put
https://localhost:8080/lcm/lcops/api/v2/environments/{environmentId}/products/{productId}/data-sources
Copy

Path Parameters

Path Parameters

string
environmentId Required

environmentId


string
productId Required

productId


Request Body

Request Body

UpdateDataSourceRequestDTO of type(s) application/json Required

updateDataSourceRequestDTO

{
	"currentPassword": "locker:password:<vmid>:<alias>",
	"dataSourceIpList": [
		"string"
	],
	"newPassword": "locker:password:<vmid>:<alias>",
	"properties": {
		"key": "string"
	},
	"userNameToUpdate": "root"
}
string
currentPassword Optional

Current Password


array of string
dataSourceIpList Optional

Data Source IP List


string
newPassword Optional

New Password


map of string
properties Optional

Properties


string
userNameToUpdate Optional

User Name to Update

Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

201 Created returns GenericRequestResponse of type(s) application/json
{
	"requestId": "a0d8d8cd-ac87-4b5c-ba8b-7a0173c56b55"
}
string
requestId Optional

Request ID

Errors

Errors

400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found


500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"currentPassword":"locker:password:<vmid>:<alias>","dataSourceIpList":["string"],"newPassword":"locker:password:<vmid>:<alias>","properties":{"key":"string"},"userNameToUpdate":"root"}' https://localhost:8080/lcm/lcops/api/v2/environments/{environmentId}/products/{productId}/data-sources


Feedback

Was this page helpful?