I'm attempting to power cycle a UCS-B200 using the XML API for UCS Central. Below is the data I'm sending via the API
"<configConfMo cookie='{{ login_cookie }}' inHierarchical='false'>
<inConfig>
<lsServer dn='org-root/org-myorg/org-myorg_UCS/org-myorg_UCS_DC/ls-newserver02'>
<lsPower state='cycle-immediate'/>
</lsServer>
</inConfig></configConfMo>"
When I submit this via "POST" I get the following output.
invocationResult="unidentified-fail"
errorDescr="Config server power state via Service Profile is not allowed. Please use server operations to perform power operations.
Is it possible to power cycle a blade using the API? Thanks in advance