Retrieve your Sentry auth token
Sign in to Sentry with an Owner or Manager account of the organization.
Go to User settings > Personal Tokens and click Create New Token. Use a personal token: Sentry lets only a personal token change the organization role of a member.
Give the token these scopes:
member:adminteam:readorg:read
Copy the token below, with the organization slug (the part after /organizations/ in your Sentry URL).
Leave the base URL empty for the US cloud. Enter https://de.sentry.io for the EU cloud, or the URL of your self-hosted Sentry.
