---
title: "PUT /thing-groups/addThingToThingGroup"
method: PUT
path: "/thing-groups/addThingToThingGroup"
---

# PUT /thing-groups/addThingToThingGroup

`PUT /thing-groups/addThingToThingGroup`

Adds a thing to a thing group.

Requires permission to access the [AddThingToThingGroup](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action.

## Request body

- object
  - `thingGroupName` string — The name of the group to which you are adding a thing.
  - `thingGroupArn` string — The ARN of the group to which you are adding a thing.
  - `thingName` string — The name of the thing to add to a group.
  - `thingArn` string — The ARN of the thing to add to a group.
  - `overrideDynamicGroups` boolean — 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 `200`

Success

- AddThingToThingGroupResponse

## Other responses

- `480` — InvalidRequestException
- `481` — ThrottlingException
- `482` — InternalFailureException
- `483` — ResourceNotFoundException

---

[API](https://skmtc.net/aws/apis/iot.md) · [All operations](https://skmtc.net/aws/apis/iot/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/iot/versions/deef5c4b09f0/schema)
