Groups API

Create group

This API creates a new group

POST/rest/kbagroup
 Query parameters  none
 Header
  • auth-token: token from authentication
  • Content-Type: application/json
 Header/Parameter  tenant
 Body Group
Returns {"result" : "ok"}
Required role KBA_MANAGER
Managed errors 401: insufficient privileges

Example request

curl 'http://localhost:8080/mwp/rest/kbagroup' -H "Content-Type:application/json" -H "auth-token:608f3536-4eac-4ad4-867c-9541dd42c6c7.local" -X POST -d '{"name" : "testGroup", "kbaIds" : [], "users" : []}'

{
 "name" : "testGroup",
 "kbaIds" : [],
 "users" : []
}

Example response

{
"result": "ok"
}