cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1155
Views
0
Helpful
1
Replies

ASA REST API - Best way to identify ACL (ACE)

Petr Kriz
Level 1
Level 1

Hello,

on ASA on REST API url I show all rules by this: https://<URL>/api/access/in/<Interface>/rules

I want always modify only defined items (1 selected ACL), but I don't know, what is the best practices.

 

1/ Read all items, find for example by special remark in rule or destination objectId and next edit it

2/ Always use selfLink

3/ Something else

 

I'd like use selfLink, but I can't find a answer - can the value of selfLink be changed? If yes, how or where? Exists some documentation?

 

Thank you and best regards,

Petr

1 Reply 1

Sloanstar
Level 5
Level 5

I think it depends on how you arrived at the ACE to edit.

If you are using the patch method (updating an existing ACE) you need to provide the objectId for the ACE.