groupquota
Description
Sets the quota for a group. It takes effect immediately.
Note: If autosave is disabled, the changes will be lost after a reboot.
Command
$ echo '{"command": "groupquota", "parameter":"2,1"}' | nc 192.168.0.33 4028 | jq
Examples
$ echo '{"command": "groupquota", "parameter":"2,1"}' | nc 192.168.0.33 4028 | jq
{
"STATUS": [
{
"Code": 327,
"Description": "LUXminer 0.1.0-15436f7140",
"Msg": "Group quota set",
"STATUS": "S",
"When": 1667918441
}
],
"id": 1
}
Parameters
Parameter | Notes |
---|---|
group_id | ID of the group, as shown in the groups command. |
quota | New quota value. |