Create a token
In the dashboard, go to Developers → API tokens and create one. You choose a role for the token and, optionally, an expiry. Create a personal token under Account → API tokens. It acts as you, so it carries your own role in every workspace you belong to. A connected app receives its token through OAuth, and you choose which workspaces it may reach when you approve the connection. Revoke either under Account.Name a workspace
An org token is bound to one workspace, so there is nothing to choose. A personal or connected-app token can reach several. Name one per request:400
invalid_request listing the candidates in details.workspaces. Retry with the
header set.
What each role can do
An org token is never an
owner, because owner is not one of the roles you can
give it. A personal or connected-app token acts as you, so GET /me reports
owner when that is your role. Billing, member management, and workspace
deletion are not API operations either way.