Skip to main content
PUT
/
v3
/
sites
/
{site}
/
groups
/
{siteGroup}
Update Group
curl --request PUT \
  --url https://app.plugchoice.com/api/v3/sites/{site}/groups/{siteGroup} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "total_amps": 123,
  "net_type": "<string>",
  "method": "<string>",
  "meter_uuid": "<string>",
  "remove_meter": true,
  "solar_additional_amps": 123,
  "solar_always_charge": true,
  "solar_always_charge_amps": 123,
  "smart_charging_charge_on_solar_export": true,
  "peak_shaving_enabled": true,
  "peak_shaving_threshold": 123
}
'
Updates an existing load balancing group or subgroup. All fields are optional; only provided fields will be updated.
site
string
required
The UUID of the location.
siteGroup
integer
required
The ID of the group or subgroup.
total_amps
integer
The total available amperage for the group. Minimum value is 1.
net_type
string
The electrical network type. One of TN, TT, or IT.
method
string
The load balancing method. One of boost or solar.
meter_uuid
string
The UUID of a meter to attach to the group.
remove_meter
boolean
Set to true to remove the currently attached meter.
solar_additional_amps
integer
Additional amperage from solar. Minimum value is 0.
solar_always_charge
boolean
Whether to always allow charging when solar is available.
solar_always_charge_amps
integer
The minimum amperage to allocate when solar always charge is enabled. Minimum value is 0.
smart_charging_charge_on_solar_export
boolean
Whether to enable charging when solar export is detected.
peak_shaving_enabled
boolean
Whether peak shaving is enabled for this group.
peak_shaving_threshold
integer
The peak shaving threshold in amps. Minimum value is 0.