Statistics - Get Service Statistics

Gets service statistics of the IoT Hub identity registry, such as connected device count.

GET https://fully-qualified-iothubname.azure-devices.net/statistics/service?api-version=2021-04-12

URI Parameters

Name In Required Type Description
api-version
query True

string

Version of the Api.

Responses

Name Type Description
200 OK

ServiceStatistics

OK.

Definitions

ServiceStatistics

Name Type Description
connectedDeviceCount

integer

The number of currently connected devices.