List Accounts (Admin)
POST
/web/v1/workspaces/{workspaceId}/users/admin/queryJWTQueries and lists user accounts within the workspace with support for filtering and pagination. This is an admin operation requiring workspace-level user read permission.
Authentication
Auth Chain: WEB Chain — requires
Authorization: Bearer <jwt>These headers are injected by the system (frontend does nothing):X-PORTAL-ACCESS-CODE(Nginx),X-Request-Id(Gateway)
Request Parameters
| Name | Type | Required | In | Description |
|---|---|---|---|---|
workspaceId | String | Yes | path | Workspace business ID |
request | Object | Yes | body | AccountQueryRequest object (see request body schema) |
Success Response
Success200
{
"version": "1.3.0",
"timestamp": 1709337600000,
"success": true,
"code": "2000",
"message": "SUCCESS",
"data": {
"content": [],
"totalElements": 0,
"totalPages": 0,
"page": 0,
"size": 20
}
}Error Responses
Unauthorized401
{
"success": false,
"code": "4010",
"message": "Invalid or expired token"
}Notes
- Requires
workspace:user:readpermission. - Supports filtering by portal, status, and pagination parameters.