generated: '2026-07-11' method: derived source: openapi/bitbucket-pipelines-openapi.json summary: types: - apiKey - http - oauth2 api_key_in: - header oauth2_flows: - authorizationCode schemes: - name: basic type: http scheme: basic description: Basic HTTP Authentication as per [RFC-2617](https://tools.ietf.org/html/rfc2617) (Digest not supported). Note that Basic Auth is available only with username and app password as credentials. sources: - openapi/bitbucket-pipelines-openapi.json - name: oauth2 type: oauth2 flows: - flow: authorizationCode authorizationUrl: https://bitbucket.org/site/oauth2/authorize tokenUrl: https://bitbucket.org/site/oauth2/access_token scopes: 26 description: OAuth 2 as per [RFC-6749](https://tools.ietf.org/html/rfc6749). sources: - openapi/bitbucket-pipelines-openapi.json - name: api_key type: apiKey in: header parameter: Authorization description: API Keys can be used as Basic HTTP Authentication credentials and provide a substitute for the account's actual username and password. API Keys are only available to team accounts and there is only 1 key per account. API Keys do not support scopes and have therefore access to all contents of the account. sources: - openapi/bitbucket-pipelines-openapi.json