Search users by username, first name, last name, and full name across all list endpoints.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4655,7 +4655,11 @@ paths:
|
||||
get:
|
||||
description: Returns paginated users with role user, with optional filters
|
||||
parameters:
|
||||
- description: Filter by username
|
||||
- description: Search by username, first name, or last name
|
||||
in: query
|
||||
name: search
|
||||
type: string
|
||||
- description: Alias for search
|
||||
in: query
|
||||
name: username
|
||||
type: string
|
||||
@@ -4827,9 +4831,13 @@ paths:
|
||||
- user
|
||||
/users/clients:
|
||||
get:
|
||||
description: Returns paginated users from the users table with role user
|
||||
description: Returns paginated client users (role user, not assigned to any branch)
|
||||
parameters:
|
||||
- description: Filter by username
|
||||
- description: Search by username, first name, or last name
|
||||
in: query
|
||||
name: search
|
||||
type: string
|
||||
- description: Alias for search
|
||||
in: query
|
||||
name: username
|
||||
type: string
|
||||
@@ -4868,7 +4876,11 @@ paths:
|
||||
description: Returns paginated users assigned to branches (from branch_user),
|
||||
including each user's branches.
|
||||
parameters:
|
||||
- description: Filter by username
|
||||
- description: Search by username, first name, or last name
|
||||
in: query
|
||||
name: search
|
||||
type: string
|
||||
- description: Alias for search
|
||||
in: query
|
||||
name: username
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user