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
Solved! Go to Solution.
Hi @Scott3 ,
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>'
Hi @Scott3 ,
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>'
Thank you
User | Count |
---|---|
2074 | |
1176 | |
770 | |
450 | |
344 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.