Workspaces

List the caller's accessible workspaces

Return the current user's accessible non-archived workspaces, each annotated with the two per-workspace management permission booleans (manage OAuth clients / manage resource filters) used by the Scope Selector and Filter Management page. Served by the main Pirros API host and requires a logged-in user session (not a client-credentials Bearer token). Unpaginated in v1 (next_cursor is always null).

get/v1/workspaces/me

Request

  • Base URL
    http://localhost:3000
  • Auth
    none declared

Response

Accessible workspaces

Example response

{
  "response": {
    "data": [
      {
        "workspace_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
        "workspace_name": "Structural West Coast",
        "user_has_manage_oauth_clients": true,
        "user_has_manage_resource_filters": false,
        "user_has_create_firm_stashes": true,
        "archived": false
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.