v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142381,278956.3 KB

Updates the groups to which the thing belongs.

Requires permission to access the UpdateThingGroupsForThing action.

put/thing-groups/updateThingGroupsForThing

Request body

thingNamestring

The thing whose group memberships will be updated.

thingGroupsToAddThingGroupName[]

The groups to which the thing will be added.

thingGroupsToRemoveThingGroupName[]

The groups from which the thing will be removed.

overrideDynamicGroupsboolean

Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group.

Response

Success

UpdateThingGroupsForThingResponse required