Question
How to change the hostname using redfish API command?
Print
Answer
curl -s -k -u ADMIN:ADMIN -X PATCH <a href="https://10.51.142.79/redfish/v1/Managers/1/EthernetInterfaces/1" style="overflow-wrap: break-word; background-position: 0% 60%; background-repeat: no-repeat; padding-left: 12px; background-image: url("../images/external.png");">https://BMC_IPredfish/v1/Managers/1/EthernetInterfaces/1 -H "Content-Type: application/json" -d '{"HostName": "bmc-hostname-25char-test"}'
Was this FAQ helpful?
Enter Comments Below:
Note: Your comments/feedback should be limited to this FAQ only. For technical support, please send an email to .
Enter your email address below if you'd like technical support staff to reply:
Please type the Captcha (no space)
M P X Y
Find more questions
Still Need Support?
Having trouble finding what you're searching for? Contact our support team for further assistance.

Certain products may not be available in your region