Device service variable
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
GET /v7/device_service_environment_variable HTTP/1.1
Host: api.balena-cloud.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
POST /v7/device_service_environment_variable HTTP/1.1
Host: api.balena-cloud.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 76
{
"service_install": "<SERVICE INSTALL ID>",
"name": "<NAME>",
"value": "<VALUE>"
}DELETE /v7/device_service_environment_variable({ID}) HTTP/1.1
Host: api.balena-cloud.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
PATCH /v7/device_service_environment_variable({ID}) HTTP/1.1
Host: api.balena-cloud.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 23
{
"value": "<NEW VALUE>"
}