Purpose
A post API to map or un-map account with account group.
Accessing the API
XML
Endpoint: /API/APP/APP007/AccountGroupAction
HTTP METHOD
XML
POST
Parameters
|
Parameters |
Data Type |
Required |
Description |
|---|---|---|---|
|
GroupName |
String |
YES |
Group name |
|
AssetType |
String |
YES |
Asset type |
|
AssetHost |
String |
YES |
Host name |
|
DBInstance |
String |
YES |
Database instance name |
|
AccountName |
String |
YES |
Account name |
|
AccountType |
String |
YES |
Local/AD Account/Just-In-Time Account |
|
Action |
String |
YES |
Map/Unmap |
|
Instance |
String |
YES |
Instance name |
Sample Request (JSON)
XML
{
"GroupName":"",
"AssetType":"Windows Server",
"AssetHost":"PI or HOSTNAME",
"DBInstance":"",
"AccountName":"Account Name",
"AccountType":"Local/ADAccount",
"Action":"Map/Unmap",
"Instance":"Default"
}
Sample Response (JSON)
XML
{
"Version":"2.3.0.0",
"IsSuccess":true,
"LogCode":"0",
"Result":"account XXXX unmapped from group (XXXX)",
"StatusCode":"Accepted",
"Timestamp":"03 Jun 2019 12:20:10 GMT 05:30:00"
}