XML API: How do I update the login-banner

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

XML API: How do I update the login-banner

L1 Bithead



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


I am receiving "success" as response, but the login-banner on the device does not get actually updated.
Am I doing something wrong ?
<response status="success" code="7">

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>
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!