Device - Abandon Device Bound Notification
此方法放弃云到设备的消息。 必须提供在收到消息时获取的 Etag,以解决完成、拒绝或放弃消息时的争用条件。 放弃的消息将放回设备消息队列,以便重新传送到设备。 有关详细信息,请参阅 https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging。 目前,标头中的 Etag 的使用不符合 RFC 7232。 此问题的修补程序目前在我们的积压工作中。 此功能仅在标准层 IoT 中心可用。 有关详细信息,请参阅 选择正确的 IoT 中心层。
POST https://fully-qualified-iothubname.azure-devices.net/devices/{id}/messages/deviceBound/{etag}/abandon?api-version=2021-04-12
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
etag
|
path | True |
string |
|
id
|
path | True |
string |
设备 ID。 |
api-version
|
query | True |
string |
Api 的版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
204 No Content |
无内容 |