post
https://{url}/v1/devices//command
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Use the hub_url received in the registration response as your base URL.
This API requires the device to authenticate, see Device Authentication.
Update the server on the status of execution of a command.
Request Data
| Name | Type | Required | Description |
|---|---|---|---|
| status | string | Yes | Current command status:
|
| message | string | Optional: Message providing details on the status update. It is strongly recommended to provide a message in case of failure, to allow the operator to understand the error's cause. | |
| id | string | Yes |
|
Request Sample
{
"status": "done",
"message": "success!",
"id": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}