Skip to content

Restart the controller

POST
/api/v1/reboot
curl --request POST \
--url http://pwrman.local/api/v1/reboot \
--header 'Authorization: Bearer <token>'

Restarts the controller 300 ms after replying. Port power stays on, and the ports keep their contracts.

The restart is scheduled.

Media typeapplication/json
object
ok
required
boolean
action
required
string

Example

{
"ok": true,
"action": "reboot in 300ms"
}

The token is missing or wrong, or no token is set yet.

Media typeapplication/json
object
error
required

Why the request was refused, in words.

string

Examples

{
"error": "bearer token required"
}

USB Type-C® and USB-C® are registered trademarks of USB Implementers Forum.