Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I am using Postman to interact with the API and seem to be stuck on how to issue a PUT for L3 firewall rules. I have a parameter of "rules" with a value of the array as defined in the attached -I get a 200 message, but when I GET the network the fire...
That appears to be the API behavior. You need to define the entire rule set. So if you want to add a rule, you include all the rules plus your addition. Same from removal of a rule. All the rules minus the deleted rule. Weird but it works.
I have resolved my issue. As instructed in the API documentation I have been using the "params" key of "rules" and a "value" of the array. The body also contained the array as the example code indicated. If I removed the params key of rules, than...
I found out my problem was that our SSL certs were not being generated correctly. Once the cert was set for SHA-256, and imported the ASA, the ASA displayed the correct algorithm.