Rest API call to clone URL Filtering profiles as "Shared" or "Vsys Specific"

Reply
Highlighted
L1 Bithead

Rest API call to clone URL Filtering profiles as "Shared" or "Vsys Specific"

Hi All,

I have 2 URL Filtering Profiles. One profile has the location as "Shared" and the other has "Predefined".

When I try to clone these profiles using the PAN GUI, I get an alert saying

Do you want 2 cloned URL Filtering Profile objects to be shared across multiple virtual systems?


If I select "Yes", the profiles are cloned with location as "Shared".

If I click "No", the profiles are cloned with location as "AMS-CPT-01F(vsys2)" or whatever the vsys name is.


How do I do this using the CLONE API on the PAN side? I only see two parameters "from" and "newname". Is there a location parameter as well? How do I clone a predefined profile as a "Vsys Specific" or "Shared" Profile?


Thanks,

Venkat

L5 Sessionator

Re: Rest API call to clone URL Filtering profiles as "Shared" or "Vsys Specific"

Hello Venkat,

The API is a community-supported function, and you may have better luck at the DevCenter, where scripts are posted:

https://live.paloaltonetworks.com/community/devcenter

Hope that helps!

Thanks and regards,

Kunal Adak

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 Live Community as a whole!

The Live Community thanks you for your participation!