Devices - Delete Identity
Deletes the identity of a device from the identity registry of the IoT Hub.
DELETE https://fully-qualified-iothubname.azure-devices.net/devices/{id}?api-version=2021-04-12
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
id
|
path | True |
string |
The unique identifier of the device. |
api-version
|
query | True |
string |
Version of the Api. |
Request Header
Name | Required | Type | Description |
---|---|---|---|
If-Match |
string |
The string representing a weak ETag for the device identity, as per RFC7232. The delete operation is performed only if this ETag matches the value maintained by the server, indicating that the device identity has not been modified since it was last retrieved. To force an unconditional delete, set If-Match to the wildcard character (*). |
Responses
Name | Type | Description |
---|---|---|
204 No Content |
No Content. |