API key expired

api_key_expired HTTP 401

The key had an expiry date and it has passed. Expiry is set when the key is issued; a company admin can issue a replacement from the Yeti office UI. Nothing about this key can be revived.

How to react to this in code

Switch on the code member — api_key_expired — which is stable. Do not parse the type URI: it points here, and where "here" is may change.