Delete a Certificate

Delete a certificate.

Request URL

GET {base_url}/{api_path}/certificate/delete?access_token={access_token}

Request parameter

Parameter Required Type Description
id Yes Integer Certificate ID.
Note: You can query the certificate ID using Query Certificate List.

Response parameters

Table 1.
Parameter Type Description
errcode Integer Returned error code.
  • 0: Succeed.
  • Non-zero value: Failed.
Note: You can check the error code and error message in Error Code and Error Message.
errmsg String Returned message.
  • SUCCESS: Succeed.
  • FAILURE: Failed.
reboot Integer Whether a system reboot is required.
  • 1: Required.
apply Integer Whether applying the configuration change is required.
  • 1: Required.

Examples

Request example

GET /openapi/v1.0/certificate/delete?access_token=yvInObATvYHo0ktzLi4dDVfDBhN3EWZg&id=4 HTTP/1.1
Host: 192.168.5.150:8088

Response example

HTTP/1.1 200 OK
{
    "errcode": 0,
    "errmsg": "SUCCESS",
    "reboot": 1,
    "apply": 1
}