Moves a group to a different parent group.
curl --request PATCH \
--url https://app.plugchoice.com/api/v3/sites/{site_uuid}/groups/{siteGroup_id}/reassign \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"parent_group_id": 16
}
'{
"data": {
"id": 1,
"site_id": 1,
"group_id": null,
"meter_id": null,
"total_amps": 48,
"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
}
}See the documentation for more information.
The id of an existing record in the site_groups table.
16
Show child attributes
Was this page helpful?
curl --request PATCH \
--url https://app.plugchoice.com/api/v3/sites/{site_uuid}/groups/{siteGroup_id}/reassign \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"parent_group_id": 16
}
'{
"data": {
"id": 1,
"site_id": 1,
"group_id": null,
"meter_id": null,
"total_amps": 48,
"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
}
}