Delete Virtual device mirror
    • PDF

    Delete Virtual device mirror

    • PDF

    Article Summary

    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

    ItemRequirement statusTypeDescription
    deviceNameYesstringVirtual device name

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    nameNostringVirtual device mirror name (operate as default mirror when null)

    Request body

    {
        "clientToken" : "string",
        "version" : "long"
    }
    
    ItemRequirement statusTypeDescriptionLimitations
    clientTokenNostringWhen clientToken is included in the request, the clientToken gets displayed in the response as is.Up to 64 bytes
    versionNolongThe 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"
    }
    
    ItemTypeDescription
    clientTokenstringclientToken of the request body
    versionlongLast version of the virtual device mirror
    timestamplongTime 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?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.