# Here is a curl example
curl \
-X POST "http://localhost:8888/api/UsersAndGroups/AddGroup" \
-H "Authorization: {token}" \
-H "Content-Type: application/json" \
-d '{
"group_name": "test",
"enabled": true
}'
This method allows you to Add a Group.
To add a group, you need to make a POST call to the following url:
:
http://localhost:8888/api/UsersAndGroups/AddGroup
Result example :
[
{
"Success": "boolean",
"Message": "string",
"Data": object,
"CustomAction": Dictionary<object, object> ,
"CustomAttributes":Dictionary<object, object>
}
]
| Field | Parameter Type | Type | Description |
|---|---|---|---|
| group_name | body | string | Group Name |
| enabled | body | boolean | Enabled |
| Authorization | header | string | Add Authorization header token |