Modify Authentication Profile via API

Reply
Highlighted
L0 Member

Modify Authentication Profile via API

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

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!