- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Content translations are temporarily unavailable due to site maintenance. We apologize for any inconvenience. Visit our blog to learn more.
03-01-2018 12:48 PM
Hey everyone,
Does anyone know whether or not it is possible to adjust authentication profiles via the API?
Little backstory, I have been working on an API call to adjust the Server Profile for an Authentication Profile. I have tried to build it out of the API builder and the CLI but keep getting 'unauthorized request' for set/edit and error 7 indicating that the object cannot be found for get. My calls are as follows.
API Builder
https://panorama/api/?key=KEY=&type=config&action=set&xpath=/config/panorama/authentication-profile/entry[@name='ACS-Radius']/method/radius/server-profile/member[@name='ACS-radius-BCP']
CLI
https://panorama/api/?key=KEY=&type=config&action=get&xpath=/config/Panorama/authentication-profile/entry[@name=ACS-Radius]<method><RADIUS><server-profile>/[@name=ACS-radius-BCP]</server profile></RADIUS></method>
I swap set/get/edit out for the above commands but still recieve errors. I made sure I am a super user on the device but at this point I am hitting a roadblock on ideas and am starting to think this action may not be possible via the API..
Thank you in advance,
Zach
09-26-2023 06:51 AM
hi please do you have an api to create authentication profile
thanks for your help
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!