Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 912 Bytes

redfish-api.md

File metadata and controls

35 lines (24 loc) · 912 Bytes

View iDRAC HTTPS Certificates

curl -sku ${USERCREDS} https://<bmcip>/redfish/v1/Managers/iDRAC.Embedded.1/NetworkProtocol/HTTPS/Certificates/SecurityCertificate.1 | jq

View BIOS Settings

curl -sku ${USERCREDS} https://<bmcip>/redfish/v1/Systems/System.Embedded.1 | jq

View SecureBoot Status

curl -sku ${USERCREDS} https://<bmcip>/redfish/v1/Systems/System.Embedded.1/SecureBoot | jq

Enable SecureBoot

curl -X PATCH -k -H "Content-Type: application/json" -H "If-Match:*" -u ${USERCREDS} https://<bmcip>/redfish/v1/Systems/Self/SecureBoot -d '{"SecureBootEnable": true}' | jq

View Scheduled Jobs

curl -sku ${USERCREDS} https://<bmcip>/redfish/v1/Managers/iDRAC.Embedded.1/Jobs | jq

Delete a Scheduled Job

 curl -X DELETE -sku ${USERCREDS} https://<bmcip>/redfish/v1/Managers/iDRAC.Embedded.1/Jobs/<JID> | jq