PUT /api/hosts/:id/power
Uruchom operację zasilania hosta
Parametry
Nazwa parametru
Opis
id
wymagany
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
wymagany
zasilanie działa, poprawne operacje to (on/start), (off/stop),
(soft/reboot), (cycle/reset), (state/status)