API - Update Account Password
Purpose
An post API to map or un-map an account with an account group.
Accessing the API
Endpoint: /API/APP/APP007/UpdateAccountPassword
HTTP METHOD
POST
Parameters
Parameters | Data Type | Required | Description |
---|---|---|---|
Assettype | String | YES | Asset type to find an account |
AssetHost | String | YES | Asset host to find an account |
DBInstance | String | OPTIONAL | Database instance to find account required if asset category is a database |
AccountName | String | YES | Account Name |
AccountType | String | YES | Local/AD Account/Just-In-Time Account |
AccountPassword | String | YES | Account password |
AccountPassphrase | String | OPTIONAL | Required if account authentication is not password |
Instance | String | YES | Instance name |
Sample Request (JSON)
{
"AssetType":"Windows Server",
"AssetHost":"XX.XX.XX.XX",
"DBInstance":"XXXX",
"AccountName":"XXXX",
"AccountType":"Local",
"AccountPassword":"XXXX",
"AccountPassphrase":"XXXXXXXXXXX",
"Instance":"XXXX"
}
Sample Response (JSON)
{
"Version":"2.3.0.0",
"IsSuccess": true,
"LogCode":"0",
"Result":"Password of an account XXXX of asset XXXX updated",
"StatusCode":"Accepted",
"Timestamp":"03 Jun 2019 12:25:16 GMT 05:30:00"
}