List user permissions in a workspace
Changed onReturns the list of members in a workspace and their permission levels. Permission can be:
- owner
- collaborator
- member
The collaborator role is being removed from the Bitbucket Cloud API. For more information, see the deprecation announcement.
When you move your administration from Bitbucket Cloud to admin.atlassian.com, the following fields on workspace_membership will no longer be present: last_accessed and added_on. See the deprecation announcement.
Results may be further filtered by permission by adding the following query string parameters:
- q=permission="owner"
Request
- Base URLhttps://api.bitbucket.org/2.0
- URLhttps://api.bitbucket.org/2.0/workspaces/{workspace}/permissions
- 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
Query parameters
Query string to narrow down the response as per filtering and sorting.
Response
The list of users that are part of a workspace, along with their permission.
Changes
- info
added the optional property
/////to the response with the status
- info
- warning
removed the optional property
/////from the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status
- warning