How to retrieve / update a registered dynamic address objects

Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to retrieve / update a registered dynamic address objects

L1 Bithead


For Palo Dynamic address objects, trying to find 2 things.

How to retrieve an already registered Dynamic Address Object.

How to update the tag of already registered Dynamic Address Object.


I have used below XML Body for register

<uid-message> <version>1.0</version> <type>update</type> <payload> <register> <entry ip=""> <tag> <member timeout="3600">CBB09C3D-3416-4734-BE90-0395B7598DE3</member> </tag> </entry> </register> <unregister> <entry ip=""/> <tag> <member>CBB09C3D-3416-4734-BE90-0395B7598DE5</member> </tag> </entry> </unregister> </payload> </uid-message>


L5 Sessionator

Hi @jobik_PaloALto,


To retrieve the IP addresses already registered to a tag:

https://{{host}}/api?key={{key}}&type=op&cmd=<show><object><registered-ip><tag><entry name='{{ tag-name }}'/></tag></registered-ip></object></show>


To update the tag, per your original post, you would register the IP address to the tag, then if you wish also deregister any existing IP addresses registered to the tag, using the list you get from the API command I gave above.


Hope that helps!

Help the community: "Like" helpful comments, and click "Accept as Solution" if you found your answer 🙂
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!