Skip to main content
PUT
/
api
/
v3
/
sites
/
{site_uuid}
/
groups
/
{siteGroup_id}
Update group
curl --request PUT \
  --url https://app.plugchoice.com/api/v3/sites/{site_uuid}/groups/{siteGroup_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "total_amps": 1,
  "net_type": "TN",
  "method": "boost",
  "meter_uuid": "6ff8f7f6-1eb3-3525-be4a-3932c805afed",
  "solar_additional_amps": 84,
  "solar_always_charge": true,
  "solar_always_charge_amps": 12,
  "peak_shaving_enabled": false,
  "peak_shaving_threshold": 77
}
'
{
  "data": {
    "id": 1,
    "site_id": 1,
    "group_id": null,
    "meter_id": null,
    "total_amps": 52,
    "created_at": "2026-01-10T01:14:33.000000Z",
    "updated_at": "2026-01-10T01:14:33.000000Z",
    "method": "boost",
    "solar_additional_amps": 0,
    "peak_shaving_enabled": false,
    "peak_shaving_threshold": 0,
    "solar_always_charge": false,
    "solar_always_charge_amps": 0,
    "net_type": null
  }
}

Authorizations

Authorization
string
header
required

See the documentation for more information.

Path Parameters

site_uuid
string
required
siteGroup_id
integer
required

The ID of the siteGroup.

Body

application/json
total_amps
integer | null

Must be at least 1. Must not be greater than 250.

Example:

1

net_type
enum<string> | null
Available options:
TN,
TT,
IT
Example:

"TN"

method
enum<string> | null
Available options:
boost,
solar
Example:

"boost"

meter_uuid
string | null

The uuid of an existing record in the meters table.

Example:

"6ff8f7f6-1eb3-3525-be4a-3932c805afed"

solar_additional_amps
integer | null

Must be at least 0.

Example:

84

solar_always_charge
boolean | null
Example:

true

solar_always_charge_amps
integer | null

Must be at least 0.

Example:

12

peak_shaving_enabled
boolean | null
Example:

false

peak_shaving_threshold
integer | null

Must be at least 0.

Example:

77

Response

200 - application/json
data
object