Delete group
DeleteGroup¶
Description: Permanently deletes a trading group by its unique group name. The group must not be in use by any users.
Request Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
| group | string | Yes | Unique name of the group |
Request Example¶
{
"group": "standard"
}
Response Parameters¶
| Name | Type | Description |
|---|---|---|
| data | string | Returns "OK" if successful |
Response Example¶
{
"data": "OK"
}
⚠️ If the group cannot be deleted (e.g. still assigned to users), the method returns an error:
{ "error": "DELETE_GROUP_ERROR", "message": "Group is still in use" }