- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-08-2022 09:58 AM
Hello,
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="10.1.1.1"> <tag> <member timeout="3600">CBB09C3D-3416-4734-BE90-0395B7598DE3</member> </tag> </entry> </register> <unregister> <entry ip="10.1.1.3"/> <tag> <member>CBB09C3D-3416-4734-BE90-0395B7598DE5</member> </tag> </entry> </unregister> </payload> </uid-message>
09-08-2022 07:03 AM
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!
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!