Vladyslaw
Feb 03, 2020Nimbostratus
How can I Delete certificate via REST API?
Hello,
I created a Client SSL Certificate and now I am trying to delete it from my F5 via REST API,
I tried to use this article: https://clouddocs.f5.com/products/big-iq/mgmt-api/v7.0.0/ApiReferences/bigiq_public_api_ref/r_adc_ssl_cert.html
This is the syntax of the command that I am typing:
(this command supose to show me all my certificates, no?)
curl -sk -u admin:Aa123456 -H "Content-Type: application/json" -X GET /mgmt/cm/adc-core/working-config/sys/file/ssl-cert
all I got after executing this command is nothing.
Also when I trying to excute this command, I get the same result, nothing happens
curl -sk -u admin:Aa123456 -H "Content-Type: application/json" -X DELETE /mgmt/cm/adc-core/working-config/sys/file/ssl-cert/cert_name
Please somebody explain to me what I am doing wrong