Scopes enable an app and API keys to request a level of access to an Atlassian product.
API scopes allow you to choose the actions an API key has permission to perform in your organization. You can set scopes for your API keys to view, write, and delete content.
The easiest way to set your app's scopes is to:
forge lint --fix
to add the scopes to the manifest.This process does not remove any redundant scopes from the manifest file, and these scopes need to be removed manually.
If you want to set the scopes manually, you need to:
For OAuth 2.0 apps, you need to:
For an API key, you need to:
Currently, scopes are not available for all APIs. Please refer to the complete list provided below.
These scopes apply to OAuth apps, OAuth integrations, API keys and API tokens.
The title and description are displayed to the user on the consent screen during the authorization flow.
Scope name | Summary | Description |
---|---|---|
read:classification-levels:admin | Read classification levels | Get all classification levels by orgId, Get a classification level |
read:domains:admin | Read domains | Domains APIs |
read:policies:admin | Read policies | Get single policy, Get list of policies, Validate a policy |
read:tokens:admin | Read API keys and tokens | Get all API tokens in an org, Get API token count in an org, Get API key count in an org, Get all API keys in an org |
write:classification-levels:admin | Write classification levels | Create a new classification level, Edit a classification level, Publish classification level, Archive a data classification level, Restore a classification level, Reorder classification levels |
write:policies:admin | Write policies | Create a new policy, Update single policy |
write:products:admin | Activate products | |
delete:policies:admin | Delete policies | Delete single policy |
delete:tokens:admin | Revoke an API keys and tokens | Revoke an API key for an org |
API keys can only be created through Admin Hub to reduce security risks. Since API requests authenticated only with an API key do not have a second form of authentication (2FA), we do not support creating API keys with an API key.
Rate this page: