Devices - Delete Identity
从 IoT 中心的标识注册表中删除设备的标识。
DELETE https://fully-qualified-iothubname.azure-devices.net/devices/{id}?api-version=2021-04-12
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
id
|
path | True |
string |
设备的唯一标识符。 |
api-version
|
query | True |
string |
Api 的版本。 |
请求头
名称 | 必需 | 类型 | 说明 |
---|---|---|---|
If-Match |
string |
根据RFC7232表示设备标识的弱 ETag 的字符串。 仅当此 ETag 与服务器维护的值匹配时,才会执行删除作,指示自上次检索设备标识以来尚未修改设备标识。 若要强制无条件删除,请将 If-Match 设置为通配符 \。 |
响应
名称 | 类型 | 说明 |
---|---|---|
204 No Content |
无内容。 |