DELETE Trusted Certificates
The Delete Trusted Certificates API is used to delete a trusted certificate.
Method | URI |
---|---|
DELETE |
/cdwebconsole/svc/mftTrustCertificates |
The following example shows the Command:
curl -X 'DELETE' \
'https://172.20.183.89:9443/cdwebconsole/svc/mftTrustCertificates' \
-H 'Authorization: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiI0MjI0Y2M4YS0yNmVjLTQxOTMtYWY5Mi1iMzg1MjVkODRjM2EiLCJleHAiOjE3MTQ5OTgwMDN9.ZB8KQoTUnQ27QQ0TaRhSzJfVisO1tgE6ctn4vqMyeGjNMEn0a_5JqscslDbpmEwx1P04ZvCJVVAWk4BPBAEiew' \
-H 'Content-Type: application/json' \
-H 'X-XSRF-TOKEN: b0b136f2-7a96-48c7-b1c7-a1efd83c451f' \
-d '{"certificateLabel":"rootCC.pem"}'
'
The following example shows the HTTP User Request:
{
"certificateLabel": "trustcert.pem"
}
The following example shows the Sample Response:
[
{
"messageCode": 200,
"message": "TrustCert has been successfully deleted."
}
]