v2
Swagger 2.02026-08-01331211921.0 KBWorkspaces
List workspaces for user
This endpoint is deprecated. Please use the supported alternative.
Returns a list of workspaces accessible by the authenticated user.
Results may be further filtered or sorted by workspace or permission by adding the following query string parameters:
- q=slug="bbworkspace1" or q=is_private=true
- sort=created_on
Note that the query parameter values need to be URL escaped so that = would become %3D.
The collaborator role is being removed from the Bitbucket Cloud API. For more information, see the deprecation announcement.
get/workspaces
Query parameters
role'owner' | 'collaborator' | 'member'
Filters the workspaces based on the authenticated user's role on each workspace.
* **member**: returns a list of all the workspaces which the caller is a member of
at least one workspace group or repository
* **collaborator**: returns a list of workspaces which the caller has write access
to at least one repository in the workspace
* **owner**: returns a list of workspaces which the caller has administrator access
qstring
Query string to narrow down the response. See filtering and sorting for details.
sortstring
Name of a response property to sort results. See filtering and sorting for details.
Response
The list of workspaces accessible by the authenticated user.