Assign Sites to an Organization Group
POST/iot/pub/v1/organization/sites
Assign up to 1000 sites to a group, by site name (external_id). A site belongs to one group, so each site is moved out of the group it was in. Assigning sites to the top-level group removes them from their groups.
If the group or any of the sites does not exist, the request returns HTTP 400, names what is missing, and changes nothing.
For customers using the IoT Standalone Portal, refer to IoT Standalone Public API Authentication page.
Request
Responses
- 200
- 4XX
- 5XX
Sites Successfully Assigned
Client Error Response
Server Error Response