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
| Parameter | Type | Description |
|---|---|---|
| errcode | Integer | Returned error code.
Note: You can check the error code and
error message in Error Code and Error Message.
|
| errmsg | String | Returned message.
|
| reboot | Integer | Whether a system reboot is required.
|
| apply | Integer | Whether applying the configuration change is 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 }