POST /api/usergroups { "usergroup": { "name": "usergroup246", "admin": false } } 201 { "admin": false, "created_at": "2022-09-06 14:57:25 UTC", "updated_at": "2022-09-06 14:57:25 UTC", "name": "usergroup246", "id": 25, "external_usergroups": [], "usergroups": [], "users": [], "roles": [] }
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
usergroup required |
Validations:
|
usergroup[name] required |
Validations:
|
usergroup[admin] optional , nil allowed |
is an admin user group, can be modified by admins only Validations:
|
usergroup[user_ids] optional , nil allowed |
Validations:
|
usergroup[usergroup_ids] optional , nil allowed |
Validations:
|
usergroup[role_ids] optional , nil allowed |
Validations:
|