Service - Delete Module

Delete the module identity for device of an IoT hub. This request requires the If-Match header. The client may specify the ETag for the device identity on the request in order to compare to the ETag maintained by the service for the purpose of optimistic concurrency. The delete operation is performed only if the ETag sent by the client matches the value maintained by the server, indicating that the device identity has not been modified since it was retrieved by the client. To force an unconditional delete, set If-Match to the wildcard character (*).


URI Parameters

Name In Required Type Description
path True
  • string

Device ID.

path True
  • string

Module ID.

query True
  • string

Version of the Api.

Request Header

Name Required Type Description
  • string


Name Type Description
204 No Content

No Content