Resource Center/Elastic Bare Metal Management(Plus)
PUTElastic Bare Metal Management(Plus)Since 4.0.0SynchronousAuth Required
PowerOffBareMetal2Chassis
PowerOffBareMetal2Chassis
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
uuidStringRequiredThe UUID of the bare metal chassis.
Body Fields
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/baremetal2/chassis/{uuid}/actions
/zstack/v1/baremetal2/chassis/{uuid}/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/baremetal2/chassis/{uuid}/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "a4d5ea20fd11487c92be0f342839d087", "name": "BM_CHASSIS", "description": "This is a bare metal chassis.", "zoneUuid": "2001f4c806194ec5a702c8182ef656be", "clusterUuid": "6e7ec663eead4469b222e4d93c23c54b", "chassisOfferingUuid": "f946913c5a9a4e6a9205cee80f107bfc", "type": "IPMI", "state": "Enabled", "status": "Available", "powerStatus": "POWER_ON", "createDate": "Nov 14, 2017 10:20:57 PM", "lastOpDate": "Nov 14, 2017 10:20:57 PM" } }Change History
This API has no change history records yet.
