subscribe to our Youtube
13361 questions
15887 answers
25700 comments
50425 members
Hello,
Not much of an expert with the format you have provided, however, the call /devices/{id} is just to get info about a device with some id, it does not really do anything else.
To execute a command in the device I would recommend using task manager function. The API reference can be found here.
Thanks a lot Paul! Just tried an API post of task execution, got a 401 unauthorised error like below, the token has full permissions granted, any idea why still get 401 error?
{
"success": false,
"errors": [
"code": "UNAUTHORIZED",
"message": "Unauthorized. (XSRF)"
}
]