Modify Authentication Profile via API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

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

1 REPLY 1

L1 Bithead

hi please do you have an api to create authentication profile 

thanks for your help

 

  • 1968 Views
  • 1 replies
  • 0 Likes
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!