Create Device Variable

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

URL: /api/v1/device-variables/ Method: POST

Parameters

  • device - Integer

  • variable - String

  • value - String

Request example

Request body (application/json)
{
  "variable": "2",
  "value": "2",
  "device": 90001
}
chevron-rightSuccess Response (200 OK)hashtag
Response body (application/json)
{
    "id": 90007,
    "created_at": "2025-05-26T12:56:24.845640Z",
    "variable": "2",
    "value": "2",
    "device": 90001
}

Was this helpful?