Query Pending Users
POST
/web/v1/workspaces/{workspaceId}/users/admin/pending/queryJWTQueries users who are pending approval within the workspace. Returns a paginated list of accounts awaiting admin review.
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 | PendingUserQueryRequest 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
- Only available in the tenant portal (10010102).
- Requires
workspace:user:readpermission. - Returns paginated results of accounts awaiting approval.