Workspaces

Get user permission on a workspace

Changed on

Returns the caller's effective role; as in, the highest level of privilege the caller has for the workspace. If the calling user is a member of multiple groups with distinct roles, only the highest level is returned.

Permissions can be:

  • owner
  • create-project
  • collaborator (deprecated; see this deprecation announcement for more details)
  • member
get/user/workspaces/{workspace}/permission

Request

  • Base URL
    https://api.bitbucket.org/2.0
  • URL
    https://api.bitbucket.org/2.0/user/workspaces/{workspace}/permission
  • 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 user that is part of a workspace.

typestring required

Changes