PUT /api/hosts/:id/power
Executa una operació energètica a l'amfitrió
Params
Param name
Description
id
required
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
required
power action, valid actions are (on/start), (off/stop), (soft/reboot),
(cycle/reset), (state/status)