Skip to Content
edgebootRebootsManual Reboot

Manual Reboot

POST/api/v1/integrations/devices/rebootIntegration API

Manually trigger a reboot on a device. This endpoint uses the Integration API (requires_public_auth): send a Bearer access token (e.g. client credentials) in the Authorization header. The server validates the token, resolves the account and device, then publishes the reboot command over MQTT.

Authentication
Bearer access token
Content-Type
application/json

Headers

HeaderValueRequired
AuthorizationBearer <access_token>Yes
Content-Typeapplication/jsonYes

Request Body Parameters

FieldTypeRequiredDescription
serial_numberstringYesDevice serial number.
portintegerYesPort number to reboot (1-8).
power_off_forintegerNoPower-off duration in seconds (default 10, range 1-300).
reason_for_rebootstringNoReason for the reboot (default "Public API reboot").

Responses

HTTPDescription
200Reboot command accepted (`success`, `data` with message, serial, port; may include `request_id`).
401Unauthorized — invalid or missing Bearer token.
403Forbidden — device not allowed for this account.
404Account or device not found.
500Server or MQTT publish error (`success: false`, error text).

Response

Success Response (200 OK)

Response Fields

FieldTypeDescription
successbooleanIndicates whether the reboot command was accepted.
data.messagestringHuman-readable confirmation message.
data.serial_numberstringDevice serial number that will be rebooted.
data.portintegerPort number that will be rebooted.
Last updated on