Delete Virtual device mirror
- Print
- PDF
Delete Virtual device mirror
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Summary
Delete virtual device mirror.
Request
Request URL
DELETE {CLOUD_IOT_CORE_API_URL}/devices/{deviceName}/mirror
Content-Type: application/json; charset=utf-8
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}
Path Variables
Item | Requirement status | Type | Description |
---|---|---|---|
deviceName | Yes | string | Virtual device name |
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
name | No | string | Virtual device mirror name (operate as default mirror when null) |
Request body
{
"clientToken" : "string",
"version" : "long"
}
Item | Requirement status | Type | Description | Limitations |
---|---|---|---|---|
clientToken | No | string | When clientToken is included in the request, the clientToken gets displayed in the response as is. | Up to 64 bytes |
version | No | long | The virtual device mirror is only deleted when the version value of the request body and the current version value of the virtual device mirror match. |
Response
Response body
{
"clientToken" : "string",
"version": "long",
"timestamp": "long"
}
Item | Type | Description |
---|---|---|
clientToken | string | clientToken of the request body |
version | long | Last version of the virtual device mirror |
timestamp | long | Time when the virtual device deletion response was created |
Example
Request body
{
"clientToken": "ABVS111",
"version" : 6
}
Response body
{
"clientToken": "ABVS111",
"version": 6,
"timestamp": 1631098467
}
Was this article helpful?