Workspace
此页面暂无中文版本,显示的是英文版本。
List workspaces visible to the caller
For cross-workspace users (root/Owner/SuperAdmin) returns every non-deleted workspace, unless `X-Workspace-Id` header narrows to a single one. Other roles see only their own workspace.
curl -X GET "https://example.com/api/v2/workspaces"{ "workspaces": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "B2Broker", "slug": "b2broker", "planCode": "enterprise", "planName": "Enterprise", "ownerEmail": "dkarapetyan@b2broker.com", "createdAt": "2026-05-10 19:33:48" } ]}Empty
Empty