Assigning any of the Power BI permissions to an account will generate an API key with the OData scope for that account.
API keys can also be manually created and issued to an account, for other scopes e.g. for groups, jobs, users and organizations, by an Aptem Employee.
Please note that removing Power BI permissions from an account does not remove the API key. The API key will remain in these cases as the key can be used for general OData access also.