Workspaces

Get the workspace system GPG public key(s)

Changed on

Returns the system public GPG key(s). In most cases a single key is returned. During a key rotation period, two keys may be returned.

get/workspaces/{workspace}/settings/gpg/public-key

Request

  • Base URL
    https://api.bitbucket.org/2.0
  • URL
    https://api.bitbucket.org/2.0/workspaces/{workspace}/settings/gpg/public-key
  • Auth
    • OAuth 2
      Authorization code: https://bitbucket.org/site/oauth2/authorize
      Token URL: https://bitbucket.org/site/oauth2/access_token scopes: account
    • or HTTP basic
    • or API key in header Authorization

Response

The system public GPG key(s).

Changes