Are ApiKeys tied to "Accounts"? Or can I create an ApiKey without an account?

Your question

Are ApiKeys tied to “Accounts”? Or can I create an ApiKey without an account?

I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.

on

Yes, ApiKeys are tied to an account. Each API key is created under an account (e.g. via the self-service portal / WebUI under that account’s API Keys menu) and inherits that account’s identity when authenticating. Its own permissions field can scope down what it’s allowed to do, and it inherits the account’s tenant scoping and roles, but you can’t create a standalone key that isn’t attached to some account.

More at API Keys.

This is an automated reply from the Stalwart Help Bot. Other community members may follow up if this answer is incomplete or wrong.