Workspaces
Get user permission on a workspace
Changed onReturns 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 URLhttps://api.bitbucket.org/2.0
- URLhttps://api.bitbucket.org/2.0/user/workspaces/{workspace}/permission
- Auth
- OAuth 2Authorization code: https://bitbucket.org/site/oauth2/authorizeToken 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.
Changes
- info
added the optional property
///to the response with the status
- info
- info
endpoint added
- info