Deleting the Root Certificate

This interface is used to delete the root certificate.

Message instance

{
    "header": {
        "msg_id": "741aec66-99b2-4d97-aaf2-63d27f53bbc5",
        "parent_msg_id": "",
        "timestamp": 1550107087319,
        "sync": false
    },
    "route": {
        "source": "EdgeManager",
        "group": "hardware",
        "operation": "delete",
        "resource": "websocket/cert_delete"
    },
    "content": {
    }
}

Parameter description

The content message is described as follows:

{
    "cert_type":"FDRootCert",
    "cert_name":"ca_cert_name"
}

Elements are defined as follows:

Level-1 Resource

Level-2 Resource

Level-3 Resource

Description

cert_type

-

-

Meaning: certificate type

Type: string

Value: FDRootCert

cert_name

-

-

Meaning: certificate name

Type: string

Value: a string of 4 to 64 characters. Only uppercase letters, lowercase letters, digits, underscores (_), and periods (.) are allowed. Two consecutive periods (..) are not allowed.

Result returned
{
    "header": {
        "msg_id": "741aec66-99b2-4d97-aaf2-63d27f53bbc5",
        "parent_msg_id": "",
        "timestamp": 1550107087319,
        "sync": false
    },
    "route": {
        "source": "EdgeManager",
        "group": "hardware",
        "operation": "delete",
        "resource": "websocket/config_result"
    },
    "content": {
        "topic": "cert_delete",
        "percentage": "100%",
        "result": "success",
        "reson": "delete cert success"
    }
}