Modify Group
The Modify Group API modifies a group's details.
URL
The HTTP URL for Modify Group API is:
http://<host>:<port>/api/v1/accessmgmt/group/<id>/modify
This service implements Gateway Filter for Authentication to authenticate access of the service by a user.
Method
POST
Header
The payload's request header includes Content-Type for JSON as application/json
Input Parameters
The following fields are input parameters:
Sample Request
{ "groupName": "Engagement Services Dev", "email": "samplegrup1@kony.com", "groupDescription": "Engagement Services DevGroup", "activeFlag": "true", "selectedUserIds": [], "selectedPermissionIds": [16, 18, 15, 17, 14, 2, 4, 5, 6, 11, 1, 3, 7, 8, 13, 10, 12, 9], "allowAllApps":true, "selectedAppIds":["SampleAppforDemo"] }
Sample Response
{
"message" : "Details updated successfully",
"id" : "groupId"
}
Response Status
Code | Description |
---|---|
Status 200 | Details updated successfully |
Status 400 | Application permissions can be enabled only for the group who has ADHOC_PUSH permission Group name is required Email is required Invalid request payload. Error occurred at property selectedPermissionIds Invalid group ID provided, or No group found with given ID |
Status 401 | Unauthorized request |
Status 500 | Server failure to process request |