Update Device Variable

circle-info

Updates a device variable, if the requesting manager has access permissions to it.

URL: /api/v1/device-variables/{id}/ Method: PATCH

Request body

Parameters

  • variable - String

  • value - String

Request body (application/json)
{
    "variable": "v7",
    "value": "ggg"
}

Success response

Code: 200 OK

Response (application/json)
{
    "id": 2018,
    "created_at": "2021-02-01T07:24:07.617161Z",
    "variable": "v7",
    "value": "ggg",
    "device": 1112
}

Last updated

Was this helpful?