Greetings to the community! I am trying to create a new user group on alfresco using the REST API following this guide https://api-explorer.alfresco.com/api-explorer/#!/groups/createGroup. I am using Postman to make the REST calls. I have successfully so far managed to create new users using the (/people) (POST) method like shown below:
POST: http://localhost:8080/alfresco/s/api/people?alf_ticket=TICKET_<<my_alf_ticket>>
and the following JSON in the Body:
{
"userId": "user",
"password": "pass",
"userName": "user",
"firstName": "user",
"lastName": "user",
"email": "user@user.com"
}
Unfortunately, when I am similarly trying to create a new group like following
POST: http://localhost:8080/alfresco/s/api/groups?alf_ticket=TICKET<<my_alf_ticket>>
and in the body section
{
"authorityType": "GROUP",
"shortName": "GROUP1",
"fullName": "GROUP_GROUP1",
"displayName": "GROUP_GROUP1"
}
I am facing the following error
Any help would be greatly appreciated :)