PUT /api/hosts/:id/power
Run a power operation on host
参数
参数名字
描述
id
必填
Validations:
Must be an identifier, string from 1 to 128 characters containing only
alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no
leading or trailing space.
power_action
必填
power action, valid actions are (on/start), (off/stop), (soft/reboot),
(cycle/reset), (state/status)