Update Command Status
DevelopingPATCH
/v1/command/{id}Use this endpoint to acknowledge commands. If it was properly received set device_status
to OK
, otherwise set it to FAILED
.
Request
Path Params
id
string
required
Body Params application/json
device_status
enum<string>
required
Allowed values:
FAILEDOK
device_status_reason
string
optional
Example
{
"device_status": "FAILED",
"device_status_reason": "string"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: 5 months ago