Amazon IoT Device Defender Thing Groups API

The Thing Groups API from Amazon IoT Device Defender — 6 operation(s) for thing groups.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Device Management & Provisioning AE-200.40

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PUT /thing-groups/addThingToThingGroup Add a thing to a thing group · Amazon IoT Device Defender Add Thing to Thing Group #
Ask an LLM
“How do I put a device into a thing group?”
“Can I add a thing to a group by the group's ARN instead of its name?”
Tell an agent
Add thing {thingName} to thing group {thingGroupName}.
Put device {thingArn} into group {thingGroupArn}.
POST /thing-groups/{thingGroupName} Create a thing group · Amazon IoT Device Defender Create Thing Group #
Ask an LLM
“How do I create a group to organize my IoT devices?”
“Can a new thing group have a parent group and tags?”
Tell an agent
Create thing group {thingGroupName}.
Create thing group {thingGroupName} with parent {parentGroupName} and tags {tags}.
DELETE /thing-groups/{thingGroupName} Delete a thing group · Amazon IoT Device Defender Delete Thing Group #
Ask an LLM
“How do I delete a thing group?”
“Can I delete a thing group only if it's at a certain version?”
Tell an agent destructive · confirm first
Delete thing group {thingGroupName}.
Delete thing group {thingGroupName} only if its version is {expectedVersion}.
GET /thing-groups/{thingGroupName} Describe a thing group · Amazon IoT Device Defender Describe Thing Group #
Ask an LLM
“What properties does a thing group have?”
“Can I look up a thing group by its name?”
Tell an agent
Describe thing group {thingGroupName}.
Show the properties of thing group {thingGroupName}.
PATCH /thing-groups/{thingGroupName} Update a device thing group · Amazon IoT Device Defender Update Thing Group #
Ask an LLM
“How do I change the properties of a group of IoT things?”
“Can I update a thing group only if its version hasn't changed since I read it?”
Tell an agent
Update thing group {thingGroupName} with {thingGroupProperties}.
Change thing group {thingGroupName} to properties {thingGroupProperties} if its version is {expectedVersion}.
GET /thing-groups List thing groups · Amazon IoT Device Defender List Thing Groups #
Ask an LLM
“Which thing groups exist in my account?”
“Can I list only thing groups that are children of a parent group?”
Tell an agent
List all thing groups.
List thing groups under parent {parentGroup}.
GET /thing-groups/{thingGroupName}/things List the things in a thing group · Amazon IoT Device Defender List Things in Thing Group #
Ask an LLM
“Which devices are in a particular thing group?”
“Can I include child groups when listing the things in a group?”
Tell an agent
List the things in thing group {thingGroupName}.
List things in {thingGroupName} recursively: include child groups.
PUT /thing-groups/removeThingFromThingGroup Remove a thing from a thing group · Amazon IoT Device Defender Remove Thing from Thing Group #
Ask an LLM
“How do I take a device out of a thing group?”
“Can I remove a thing from a group by the group's ARN?”
Tell an agent destructive · confirm first
Remove thing {thingName} from thing group {thingGroupName}.
Take device {thingArn} out of group {thingGroupArn}.
PUT /thing-groups/updateThingGroupsForThing Update a thing's group memberships · Amazon IoT Device Defender Update Thing Groups for Thing #
Ask an LLM
“How do I move a device into new thing groups and out of others?”
“Can I override dynamic groups when a thing hits the 10-group limit?”
Tell an agent
Move thing {thingName} into groups {thingGroupsToAdd} and out of {thingGroupsToRemove}.
Update thing {thingName}'s group memberships with override {overrideDynamicGroups}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-iot-device-defender:amazon-iot-device-defender-thing-groups-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-iot-device-defender-thing-groups-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2015-05-28
  x-release: v4
  title: AWS IoT Thing Groups API
  description: 'IoT

    IoT provides secure, bi-directional communication between Internet-connected devices (such as sensors, actuators, embedded devices, or smart appliances) and the Amazon Web Services cloud. You can discover your custom IoT-Data endpoint to communicate with, configure rules for data processing and integration with other services, organize resources associated with each device (Registry), configure logging, and create and manage policies and credentials to authenticate devices.


    The service endpoints that expose this API are listed in Amazon Web Services IoT Core Endpoints and Quotas. You must use the endpoint for the region that has the resources you want to access.


    The service name used by Amazon Web Services Signature Version 4 to sign the request is: execute-api.


    For more information about how IoT works, see the Developer Guide.


    For information about how to use the credentials provider for IoT, see Authorizing Direct Calls to Amazon Web Services Services.'
  x-logo:
    url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png
    backgroundColor: '#FFFFFF'
  termsOfService: https://aws.amazon.com/service-terms/
  contact:
    name: Mike Ralphson
    email: mike.ralphson@gmail.com
    url: https://github.com/mermade/aws2openapi
    x-twitter: PermittedSoc
  license:
    name: Apache 2.0 License
    url: http://www.apache.org/licenses/
  x-providerName: amazonaws.com
  x-serviceName: iot
  x-aws-signingName: iot
  x-origin:
  - contentType: application/json
    url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/iot-2015-05-28.normal.json
    converter:
      url: https://github.com/mermade/aws2openapi
      version: 1.0.0
    x-apisguru-driver: external
  x-apiClientRegistration:
    url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct
  x-apisguru-categories:
  - cloud
  x-preferred: true
servers:
- url: http://iot.{region}.amazonaws.com
  variables:
    region:
      description: The AWS region
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - us-gov-west-1
      - us-gov-east-1
      - ca-central-1
      - eu-north-1
      - eu-west-1
      - eu-west-2
      - eu-west-3
      - eu-central-1
      - eu-south-1
      - af-south-1
      - ap-northeast-1
      - ap-northeast-2
      - ap-northeast-3
      - ap-southeast-1
      - ap-southeast-2
      - ap-east-1
      - ap-south-1
      - sa-east-1
      - me-south-1
      default: us-east-1
  description: The AWS IoT multi-region endpoint
- url: https://iot.{region}.amazonaws.com
  variables:
    region:
      description: The AWS region
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - us-gov-west-1
      - us-gov-east-1
      - ca-central-1
      - eu-north-1
      - eu-west-1
      - eu-west-2
      - eu-west-3
      - eu-central-1
      - eu-south-1
      - af-south-1
      - ap-northeast-1
      - ap-northeast-2
      - ap-northeast-3
      - ap-southeast-1
      - ap-southeast-2
      - ap-east-1
      - ap-south-1
      - sa-east-1
      - me-south-1
      default: us-east-1
  description: The AWS IoT multi-region endpoint
- url: http://iot.{region}.amazonaws.com.cn
  variables:
    region:
      description: The AWS region
      enum:
      - cn-north-1
      - cn-northwest-1
      default: cn-north-1
  description: The AWS IoT endpoint for China (Beijing) and China (Ningxia)
- url: https://iot.{region}.amazonaws.com.cn
  variables:
    region:
      description: The AWS region
      enum:
      - cn-north-1
      - cn-northwest-1
      default: cn-north-1
  description: The AWS IoT endpoint for China (Beijing) and China (Ningxia)
security:
- hmac: []
tags:


# --- truncated at 32 KB (36 KB total) ---
# Full source: https://artifacts.apis.io/amazon-iot-device-defender/openapi/amazon-iot-device-defender-thing-groups-api-openapi.yml