Skip to content

List Workspaces

POST/web/v1/workspaces/admin/queryJWT

Queries workspaces with filtering and pagination (admin view).

Authentication

Auth Chain: WEB Chain — requires Authorization: Bearer <jwt> System-injected headers (frontend does nothing): X-PORTAL-ACCESS-CODE (Nginx), X-Request-Id (Gateway)

Request Parameters

No query or path parameters required.

Request Body

JSON object of type WorkspaceQueryRequest.

Success Response

Success200
{
  "version": "1.3.0",
  "timestamp": 1709337600000,
  "success": true,
  "code": "2000",
  "message": "SUCCESS",
  "data": {}
}

Error Responses

Unauthorized401
{
  "success": false,
  "code": "4010",
  "message": "Invalid or expired token"
}

Notes

  • Request body must conform to WorkspaceQueryRequest schema.
  • This is an admin-level endpoint requiring elevated workspace permissions.

Internal Documentation