v2
latestSwagger 2.02026-08-01331211921.0 KBList workspaces for the current user
This endpoint is deprecated. Please use the supported alternatives:
- List workspaces for user
- Get user permission on a workspace
Returns an object for each workspace the caller is a member of, and their effective role - the highest level of privilege the caller has. If a user is a member of multiple groups with distinct roles, only the highest level is returned.
Permissions 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 or sorted by workspace or permission by adding the following query string parameters:
- q=workspace.slug="bbworkspace1" or q=permission="owner"
- sort=workspace.slug
Note that the query parameter values need to be URL escaped so that = would become %3D.
Query parameters
Query string to narrow down the response. See filtering and sorting for details.
Name of a response property to sort results. See filtering and sorting for details.
Response
All of the workspace memberships for the authenticated user.