Device tag
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
GET /v7/device_tag HTTP/1.1
Host: api.balena-cloud.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
POST /v7/device_tag HTTP/1.1
Host: api.balena-cloud.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 60
{
"device": "<DEVICE ID>",
"tag_key": "<KEY>",
"value": "<VALUE>"
}PATCH /v7/device_tag(device={DEVICE_ID},tag_key='{EXISTING-KEY}') HTTP/1.1
Host: api.balena-cloud.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 23
{
"value": "<NEW-VALUE>"
}DELETE /v7/device_tag({TAG-ID}) HTTP/1.1
Host: api.balena-cloud.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*