XML API: How do I update the login-banner

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

XML API: How do I update the login-banner

L1 Bithead

Hello, 

 

I am trying to update the login-banner. I have tried this: 

 

https://<HOSTNAME>/api/type=config&action=get&xpath=/config/devices/entry[@name='localhost.localdomain']/deviceconfig/system/<login-banner>BANNER_VALUE</login-banner>&key=<APIKEY>
 
I am receiving "success" as response, but the login-banner on the device does not get actually updated.
Am I doing something wrong ?
 
Response:
<response status="success" code="7">
<result/>
</response>
1 REPLY 1

L1 Bithead

found it. 

 

https://<HOSTNAME>/api/type=config&action=set&xpath=/config/devices/entry[@name='localhost.localdomain']/deviceconfig/system&element=<login-banner>BANNER VALUE</login-banner>&key=<APIKEY>
  • 1559 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!