Device Environment Variable

Available Fields

Field

id

created_at

device

name

value


Examples

Get all device environment variables for a device by UUID

GET "https://api.balena-cloud.com/v7/device_environment_variable?\$filter=device/any(d:d/uuid%20eq%20'<DEVICE_UUID>')" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <AUTH_TOKEN>" 

Get all device environment variables for a device by ID

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

Create a device environment variable

Update a device environment variable

Remove a device environment variable

Last updated

Was this helpful?