Modules - Delete Identity

刪除 IoT 中樞 中裝置的模組身分識別。

DELETE https://fully-qualified-iothubname.azure-devices.net/devices/{id}/modules/{mid}?api-version=2021-04-12

URI 參數

名稱 位於 必要 類型 Description
id
path True

string

deivce 的唯一標識碼。

mid
path True

string

模組的唯一識別碼。

api-version
query True

string

Api 的版本。

要求標頭

名稱 必要 類型 Description
If-Match

string

根據RFC7232,代表模組的弱式 ETag 字串。 只有在此 ETag 符合伺服器所維護的值時,才會執行刪除作業,表示自上次擷取後尚未修改模組。 若要強制無條件刪除,請將 If-Match 設定為通配符 (*) 。

回應

名稱 類型 Description
204 No Content

無內容。