Connect virtual device - certificate
    • PDF

    Connect virtual device - certificate

    • PDF

    Article Summary

    Summary

    Connects a virtual device to a certificate.

    Request

    Request URL

    POST {CLOUD_IOT_CORE_API_URL}/mappings/device-certification
    
    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}
    

    Request body

    {
        "deviceName": "string",
        "serialNo":"string"
    }
    
    CategoryRequired statusTypeRestrictionsDescription
    deviceNameYesstringVirtual device name
    serialNoYesstring1Certificate's serial number

    Response

    Response body

    {
        "status": "string",
        "body": {
             "deviceName": "string",
             "serialNo": "string",
             "registerTime": "localDateTime"
        }
    }
    
    CategoryTypeDescription
    statusstringIndicates whether response was successful
    body.deviceNamestringName of connected virtual device
    body.serialNostringConnected certificate's serial number
    body.registerTimelocalDateTimeVirtual device - certificate connection date

    Example

    {
        "status": "SUCCESS",
        "body": {
             "deviceName": "bulb",
             "serialNo": "7d:94:1c:b1:be:0a:da:b1:c2:20:32:e9:a4:c4:51:f1:56:a3:b1:71",
             "registerTime": "2020-09-11 14:22:48"
       }
    }
    

    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.