For the complete documentation index, see llms.txt. This page is also available as Markdown.

Device config variable

Available Fields

Field

id

device

value

name


Examples

Get all device config variables for a device

GET "https://api.balena-cloud.com/v7/device_config_variable?\$filter=device%20eq%20<DEVICE ID>" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <AUTH_TOKEN>" 

Create a device config variable

POST "https://api.balena-cloud.com/v7/device_config_variable" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <AUTH_TOKEN>" \
--data '{
    "device": "<DEVICE ID>",
    "name": "<NAME>",
    "value": "<VALUE>"
}'

Update a device config variable

Remove a device config variable

Last updated

Was this helpful?