Modules - Delete Identity
刪除 IoT 中樞 中裝置的模組身分識別。
DELETE https://fully-qualified-iothubname.azure-devices.net/devices/{id}/modules/{mid}?api-version=2020-05-31-preview
URI 參數
名稱 | 位於 | 必要 | 類型 | Description |
---|---|---|---|---|
id
|
path | True |
string |
deivce 的唯一標識碼。 |
mid
|
path | True |
string |
模組的唯一識別碼。 |
api-version
|
query | True |
string |
Api 的版本。 |
要求標頭
名稱 | 必要 | 類型 | Description |
---|---|---|---|
If-Match |
string |
代表模組弱式 ETag 的字串,根據RFC7232。 只有在此 ETag 符合伺服器所維護的值時,才會執行刪除作業,表示自從上次擷取模組之後尚未修改該模組。 若要強制無條件刪除,請將 If-Match 設定為通配符 (*) 。 |
回應
名稱 | 類型 | Description |
---|---|---|
204 No Content |
沒有內容。 |