We were using an API key that was generated by the API to manage devices over multiple applications. This functionality seems to have been broke. Are the API keys now only valid per application. If this is the case is the only workaround for shipping a product that can use the API across all applications to include the username and password?
I have an API key that was generated a while ago by another developer that used to work for the entire API (not just specific applications). I believe it was generated with a similar call to a generate-api-key endpoint but I can’t find a reference to that in your documentation. We were using to automate features for our users. For instance we would set an environment variable by calling:
I was trying to figure out why these calls were failing and saw the application specific API key endpoint and wondered if that had replaced the old API wide key. If so that would explain why our old key stopped working.
Hey @heyareth, it’s not deprecated, but currently the API key that is generated there is non-revokable, so we do not document it currently. @Page has been working on the API keys story and may have additional info to add as well.
The API key is indeed non-revokable at the moment, and as it is designed to be used on devices by the supervisor it is also restricted compared to a user token, so the issue you’re hitting is likely due to that restriction, there are plans to add a fully fledged API key system in future but I’m not sure what the status of that is