Send command to device
POST/devices/:deviceId/commands
Send a remote command to a device.
Available Commands:
| Command | Description |
|---|---|
lock_device | Lock the device screen |
unlock_device | Unlock device |
restart_device | Restart device |
wipe_device | Factory reset |
factory_reset | Full factory reset |
sync_device | Force sync with server |
play_sound | Ring device at full volume |
install_app | Install application |
uninstall_app | Remove application |
collect_logs | Collect device logs |
Request
Responses
- 201
- 400
- 404
Command created and queued
Invalid request
Resource not found