Purpose

A post API to map or un-map account with account group.

Accessing the API

Endpoint: /API/APP/APP007/AccountGroupAction
XML


HTTP METHOD

POST
XML


Parameters

ParametersData TypeRequiredDescription

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)

{
	"GroupName":"",
	"AssetType":"Windows Server",
	"AssetHost":"PI or HOSTNAME",
	"DBInstance":"",
	"AccountName":"Account Name",
	"AccountType":"Local/ADAccount",
	"Action":"Map/Unmap",
	"Instance":"Default"
}

XML


Sample Response (JSON)

{
	"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"
}

XML