DELETE Key Certificates

Delete Key Certificates API is used to delete key certificates.

Method URI

DELETE

/cdwebconsole/svc/ securepluskeycertificate

The following example shows the Command:
curl -X 'DELETE' \
  'https://172.20.186.131:9443/cdwebconsole/svc/securepluskeycertificate' \
  -H 'Authorization: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbmlzdHJhdG9yOjE3Mi4yMC4xODYuMTMxOjEzNjM6MDU1OGMxYzEtY2UzYi00ZWIzLTk1MDgtMzMxNWU2MWNhZThjIiwiZXhwIjoxNzE1MjI4ODU0fQ.w8_E8N17xuGvk7yDamFd8RsP3qZoVQmIX2mg4afa8kmZpLYqUZkeX8Taqm7x4qFRZjDtTAI-EqYSP7CC9jjLbg' \
  -H 'Content-Type: application/json' \
  -H 'X-XSRF-TOKEN: 39165de5-9868-4e89-9eef-7526316ecad8' \
  -d '{"certificateLabel":"DemoCert","deleteChain":"","syncNodes":""}'
Table 1. Input Parameters
Parameter Name Required/Optional Description Valid values
certificateLabel Required

Specifies the label to be given to the key certificate

 
deleteChain Optional

Specifies whether to delete the entire CA certificate chain, if it exists

y or n
syncNodes Optional

Specifies whether to update the label name stored in each Secure Plus node configuration, if the label name is changed

y or n
The following example shows the Request Payload:
{
 "certificateLabel": "DemoCert”,
 "deleteChain": "",
 "syncNodes": ""
}
The following example shows the Sample Response:
[
  {
    "messageCode": 200,
    "message": "The key certificate has been successfully deleted"
  }
]