Update user group.
https://Your project.userecho.com/api/v2/users/groups.json
Parameter | Value | Required? | Default | Options | Description |
---|---|---|---|---|---|
id | Integer | yes | Group ID | ||
name | String | no | 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 |
{
"id": 1,
"name": "New group"
}
{
"id": 1,
"name": "New group",
"vote_weight": 3,
"vote_count": 100
}
{
"status": "success",
"data": {
"id": 1,
"name": "New group",
"vote_count": 3,
"vote_weight": 100
}
}