Solved
Delete local cert using FortiGate API
Hi,
Does anybody know how to delete local certs using the FortiGate API?
I found out how to upload them here:
But I need to delete the old one first to upload the new one.
Thanks
Hi,
Does anybody know how to delete local certs using the FortiGate API?
I found out how to upload them here:
But I need to delete the old one first to upload the new one.
Thanks
Hi
You can use the HTTP DELETE method.
Example:
curl -X 'DELETE' 'https://<FortigateIP>:<FortigatePORT>/api/v2/cmdb/vpn.certificate/local/<CERT_NAME>?access_token=<API_TOKEN>'
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.