Skip to main content
PATCH
/
v3
/
sites
/
{site}
/
groups
/
{siteGroup}
/
reassign
Reassign Group
curl --request PATCH \
  --url https://app.plugchoice.com/api/v3/sites/{site}/groups/{siteGroup}/reassign \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "parent_group_id": 123
}
'
Moves a group to a different parent group within the same location. A group cannot be assigned as its own parent.
site
string
required
The UUID of the location.
siteGroup
integer
required
The ID of the group to reassign.
parent_group_id
integer
required
The ID of the new parent group. Cannot be the same as the group being reassigned.