POST

To ask a device to reboot, make an authenticated POST request. No request body is required.

http POST https://apps.dataplicity.com/devices/12345678-1234-1234-1234-1234567890123/reboot/ 'Authorization: Token 123456789abcdefghijklmnopqrstuvwxyzqwer'
curl --header "Content-Type: application/json" -H "Authorization: Token 123456789abcdefghijklmnopqrstuvwxyzqwer" --request POST https://apps.dataplicity.com/devices/12345678-1234-1234-1234-1234567890123/reboot/

You should receive a 202 (Accepted) response. This indicates the reboot signal has been dispatched, but does not guarantee that the reboot succeeded.