Run a unit action
POST/plugin-api/service-manager/:hostId/units/:unit/actions/:action
Start, stop, restart, reload, enable, disable, enable or disable now, mask, unmask, reset a failed state or revert local changes. Needs edit access.
Request
Responses
- 200
- 403
Done, with the new active state.
No edit access, or the host is read only.