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

Who rated this post

Modify Authentication Profile via API

L0 Member

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

Who rated this post