I'd like to use a server-to-server "app" for automating the update of which accounts get a flex token, and which account get a named user. I need to get the usage from the API, and it looks like it only supports a 3-legged token.
Is it possible to use a bearer token from a server-to-server app?
If not, why not?
The Premium Reporting API provides a PAT (Personal Access Token) exactly for this use case, letting you access their API from a server side, without having a user going through the 3-legged login dance.
The process of using PATs is as follows:
Authorization
header and by including the PAT in the ADSK-PAT
header