03-07-2024 02:32 AM
Hello!
I am trying to move a rule to a category/section via the API, but I'm not sure how to do it via the PUT endpoint. I have tried this:
PUT with partialUpdate=True with following payload:
03-07-2024 05:48 AM
As far as I can tell, moving an existing access control rule to a different category through the Cisco FMC API is not directly supported via a simple API call. The API doesn't provide a straightforward method to change the category of a rule without deleting and recreating it. This would explain the error messages you're receiving: the category
field may not be recognized or modifiable through the API for an existing rule.
05-15-2024 02:58 AM
Same issue, it does not seems to be possible to change the metadata. Changing the name and other parameters work fine, but nothing in the metadata.
I was hoping my script could change the category of all rules to have some kind of structure, but we will need to use the bulk edit in the GUI.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide