---
title: "Get all the IoT hubs in a resource group"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs"
tags: ["GET"]
---

# Get all the IoT hubs in a resource group

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs`

Get all the IoT hubs in a resource group.

## Parameters

- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ResourceGroupNameParameter` — unresolved $ref

## Response `200`

Azure operation completed successfully.

- IotHubDescriptionListResult — The response of a IotHubDescription list operation.
  - `value` IotHubDescription[], required — The IotHubDescription items on this page — unresolved $ref
  - `nextLink` string, uri — The link to the next page of items

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/iothub-microsoft-devices-iothub.md) · [All operations](https://skmtc.net/azure/apis/iothub-microsoft-devices-iothub/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/iothub-microsoft-devices-iothub/revisions/7807b4f14d4d/schema)
