Bitbucket Pipelines · OAuth Scopes

Bitbucket Pipelines OAuth Scopes

OAuth 2.0 derived

Bitbucket Pipelines publishes 26 OAuth 2.0 scopes via the authorizationCode flow. Scopes are the fine-grained permissions an application requests at authorization time to act against the Bitbucket Pipelines API on a user’s behalf.

Tokens are issued from https://bitbucket.org/site/oauth2/access_token.

This index is generated from the provider’s OpenAPI security definitions (and, where available, its documented scope reference) and refreshes on every APIs.io network build. Browse every provider’s scopes at scopes.apis.io.

DevOpsCI/CDPipelinesAtlassianBitbucketHostedSelf-Hosted Runners
Scopes: 26 Flows: authorizationCode Method: derived

OAuth endpoints

Authorization URL
https://bitbucket.org/site/oauth2/authorize
Token URL
https://bitbucket.org/site/oauth2/access_token
Flows
authorizationCode

Scopes (26)

ScopeDescriptionFlows
account Read your account information authorizationCode
account:write Read and modify your account information authorizationCode
email Read your account's primary email address authorizationCode
issue Read your repositories' issues authorizationCode
issue:write Read and modify your repositories' issues authorizationCode
pipeline Access your repositories' build pipelines authorizationCode
pipeline:variable Access your repositories' build pipelines and configure their variables authorizationCode
pipeline:write Access and rerun your repositories' build pipelines authorizationCode
project Read your workspace's project settings and read repositories contained within your workspace's projects authorizationCode
project:admin Read and modify settings for projects in your workspace authorizationCode
pullrequest Read your repositories and their pull requests authorizationCode
pullrequest:write Read and modify your repositories and their pull requests authorizationCode
repository Read your repositories authorizationCode
repository:admin Administer your repositories authorizationCode
repository:delete Delete your repositories authorizationCode
repository:write Read and modify your repositories authorizationCode
runner Access your workspaces/repositories' runners authorizationCode
runner:write Access and edit your workspaces/repositories' runners authorizationCode
snippet Read your snippets authorizationCode
snippet:write Read and modify your snippets authorizationCode
team Read your team membership information authorizationCode
team:write Read and modify your team membership information authorizationCode
test Access your workspaces/repositories' test authorizationCode
test:write Access and edit your workspaces/repositories' test authorizationCode
webhook Read and modify your repositories' webhooks authorizationCode
wiki Read and modify your repositories' wikis authorizationCode

Source

OAuth Scopes

bitbucket-pipelines-scopes.yml Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/bitbucket-pipelines-openapi.json
schemes:
- name: oauth2
  source: openapi/bitbucket-pipelines-openapi.json
  flows:
  - flow: authorizationCode
    authorizationUrl: https://bitbucket.org/site/oauth2/authorize
    tokenUrl: https://bitbucket.org/site/oauth2/access_token
  description: OAuth 2 as per [RFC-6749](https://tools.ietf.org/html/rfc6749).
scopes:
- scope: account
  description: Read your account information
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: account:write
  description: Read and modify your account information
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: email
  description: Read your account's primary email address
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: issue
  description: Read your repositories' issues
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: issue:write
  description: Read and modify your repositories' issues
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: pipeline
  description: Access your repositories' build pipelines
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: pipeline:variable
  description: Access your repositories' build pipelines and configure their variables
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: pipeline:write
  description: Access and rerun your repositories' build pipelines
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: project
  description: Read your workspace's project settings and read repositories contained within
    your workspace's projects
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: project:admin
  description: Read and modify settings for projects in your workspace
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: pullrequest
  description: Read your repositories and their pull requests
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: pullrequest:write
  description: Read and modify your repositories and their pull requests
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: repository
  description: Read your repositories
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: repository:admin
  description: Administer your repositories
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: repository:delete
  description: Delete your repositories
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: repository:write
  description: Read and modify your repositories
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: runner
  description: Access your workspaces/repositories' runners
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: runner:write
  description: Access and edit your workspaces/repositories' runners
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: snippet
  description: Read your snippets
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: snippet:write
  description: Read and modify your snippets
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: team
  description: Read your team membership information
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: team:write
  description: Read and modify your team membership information
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: test
  description: Access your workspaces/repositories' test
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: test:write
  description: Access and edit your workspaces/repositories' test
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: webhook
  description: Read and modify your repositories' webhooks
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json
- scope: wiki
  description: Read and modify your repositories' wikis
  flows:
  - authorizationCode
  sources:
  - openapi/bitbucket-pipelines-openapi.json