Create a new user group.
https://yourproject.userecho.com/api/v2/users/groups.json
Parameter | Value | Required? | Default | Options | Description |
---|---|---|---|---|---|
name | String | yes | Group name | ||
vote_weight | Integer | no | 1 | 1,2,3,4,5 | Count votes allowed to each user for each topic |
vote_count | Integer | no | null (unlimited) | positive integer or null | Count votes allowed to each user for all topics |
{ "name": "New group" }
{ "name": "New group", "vote_weight": 3, "vote_count": 100 }
{ "status": "success", "data": { "id": 1, "name": "New group", "vote_count": 3, "vote_weight": 100 } }