Hi,
I guess you are trying to delete the device tag from the device with the device API key? If so, our access control policy only allows creating and updating device tags with the device API key.
Indeed I try to delete the device tag from within a service on the device with the api key. I think I missed that part in the documentation.
Is there a possibility to create another API token which can do this delete or what is the alternative to perform this action via a REST call? Create a developer user?
Ps: it is not required to perform this delete from within a service on the device itself. Even better if it could be done outside of it.
Hi,
An operator or developer collaborator on an application can delete device tags, using the same REST calls. You can create an API key in the dashboard and use this. It is usually not advisable to give such an API key to a device, because devices might be on customer sites, or even publicly accessible (depends on your use case of course). The idea would be to use it in a back end service.