Set Device Tags with Supervisor API / Set Static Network with Supervisor API

Hi,

is it possible to set or update a device tag with the supervisor API.
if search some hours, but i could not find something.

I know, it can be set with the default API, but this is not my use case.
i would not have the bearer token inside a container :wink:

Second Question:
Supervisor API and static network? Possible?
We use NUCs and can’t take out a sd card for configure the static network.
Our customers are medical centers, and sometimes they have the device in a DMZ
without a DHCP Server.

Thanks for your responses

greets phil

Hi, you could use the balena API such as with this example https://github.com/balena-io-examples/device-tags
For setting a static IP, there is documentation on how to do that here https://www.balena.io/docs/reference/OS/network/2.x/#setting-a-static-ip