API - Map, Un-map User with User Group
Purpose
A post API to map or un-map to the user from or to a group.
Accessing the API
Endpoint: /API/APP/APP007/UserGroupAction
HTTP METHOD
POST
Parameters
Parameters | Data Type | Required | Description |
---|---|---|---|
GroupName | String | YES | User Group Name |
UserName | String | YES | User Name |
Action | String | YES | (map/unmap) |
Instance | String | YES | Instance Name |
Sample Request (JSON)
{
"GroupName":"GroupName",
"UserName":"UserName",
"Action":"map",
"Instance":"InstanceName"
}
Sample Response (JSON)
{
"Version":"X.X.X.X",
"IsSuccess":true,
"LogCode":"0",
"Result":"user XXXXXXX mapped to group (XXXXXXX)",
"StatusCode":"Accepted",
"Timestamp":"03 Jun 2019 11:34:45 GMT 05:30:00"
}