Device - Complete Device Bound Notification
This method completes or rejects a cloud-to-device message. The Etag obtained when the message was received must be provided to resolve race conditions when completing, rejecting, or abandoning a message. A completed message is deleted from the device message queue, and a positive acknowledgment is sent to the application back-end if requested. A rejected message causes it to be deadlettered. To reject a message, include a query parameter called "reject". See https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging for more information. Currently, the use of the Etag in the header does not comply with RFC 7232. A fix for this issue is currently on our backlog. This capability is only available in the standard tier IoT Hub. For more information, see Choose the right IoT Hub tier.
DELETE https://fully-qualified-iothubname.azure-devices.net/devices/{id}/messages/deviceBound/{etag}?api-version=2020-03-13
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
etag
|
path | True |
string |
|
id
|
path | True |
string |
Device ID. |
api-version
|
query | True |
string |
Version of the Api. |
Responses
Name | Type | Description |
---|---|---|
204 No Content |
No Content |