Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-10482

Create admin personal tokens for admin endpoints in Bitbucket Server REST API

XMLWordPrintable

    • 108
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Problem Definition

      In Bitbucket Server 5.5 personal access tokens have been introduced. They can be used to replace passwords over https, or to authenticate using the Bitbucket Server REST API over Basic Auth. However the tokens cannot be used for administrative access REST endpoints like /rest/access-tokens/latest/users/admin or
      /rest/api/1.0/admin/permissions/groups

      The error message: Tokens may not have the following permission: ADMIN

      Suggested Solution

      Please provide the access tokens with the global ADMIN permissions.

      Why this is important

      Using tokens for the system management automation is more comfortable and secure rather than login-password authentication.

              Unassigned Unassigned
              ashaleev Anton Shaleev
              Votes:
              30 Vote for this issue
              Watchers:
              40 Start watching this issue

                Created:
                Updated: