v7

latestSwagger 2.02026-07-13186148695.0 KB
Sensors

Renews a sensor connection string.

post/sensor-partners/{sensorPartnerId}/sensors/{sensorId}/connection-strings/:renew

Path parameters

sensorPartnerIdstring required

Id of the sensor partner.

sensorIdstring required

Id of the sensor resource.

Query parameters

api-versionstring required

The requested API version

Request body

connectionStringType'Primary' | 'Secondary' | 'Both' required

Specifies the type of connection string key to be renewed valid values - Primary/Secondary/Both.

Response

Success

primaryDeviceConnectionStringstring

Primary connection string of the ioTHub device.

secondaryDeviceConnectionStringstring

Secondary connection string of the ioTHub device.