set_group_usage_limit
Set a group's Creative-Units cap for a period.
Requires workspace billing-admin permission.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
group_idrequired | string (uuid) | — | The group to cap. |
cu_limitrequired | number≤10000000, >0 | — | Creative Units cap for the period (positive). |
periodrequired | enum | — | Reset period for the cap (e.g. DAILY, MONTHLY). One of: daily, weekly, monthly |
mode | enum | warn | WARN tells members they are past the cap; BLOCK also stops anything that charges Creative Units. One of: warn, block |
warn_threshold_pct | integer1–100 | 80 | Percent of the cap at which members are warned. |