Cloud To Device Messages - Purge Cloud To Device Message Queue
IoT Hub에서 디바이스에 대한 보류 중인 명령을 모두 삭제합니다.
DELETE https://fully-qualified-iothubname.azure-devices.net/devices/{id}/commands?api-version=2021-04-12
URI 매개 변수
| Name | In(다음 안에) | 필수 | 형식 | Description |
|---|---|---|---|---|
|
id
|
path | True |
string |
디바이스의 고유 식별자입니다. |
|
api-version
|
query | True |
string |
API의 버전입니다. |
응답
| Name | 형식 | Description |
|---|---|---|
| 200 OK |
그래. |
정의
PurgeMessageQueueResult
디바이스 메시지 큐 제거 작업의 결과입니다.
| Name | 형식 | Description |
|---|---|---|
| deviceId |
string |
디바이스의 고유 식별자입니다. |
| moduleId |
string |
모듈의 고유 식별자입니다. |
| totalMessagesPurged |
integer (int32) |
제거된 총 메시지 수입니다. |