Users
Search users
Changed onIt will preform a simple search based on name and email matching the given query. Requires minimum 2 characters
get/api/admin/user-admin/search
Request
- Base URLhttps://app.unleash-instance.example.com
- URLhttps://app.unleash-instance.example.com/api/admin/user-admin/search
- Auth
- API key in header Authorization
- or HTTP bearer
Query parameters
qstring
The pattern to search in the username or email
Response
usersSearchSchema
Example response
[
{
"id": 123,
"name": "User",
"email": "user@example.com",
"username": "hunter",
"imageUrl": "https://example.com/242x200.png",
"inviteLink": "http://localhost:4242/invite-link/some-secret",
"loginAttempts": 3,
"rootRole": 1,
"seenAt": "2023-06-30T11:42:00.345Z",
"createdAt": "2023-06-30T11:41:00.123Z",
"accountType": "User",
"scimId": "01HTMEXAMPLESCIMID7SWWGHN6",
"seatType": "Regular",
"companyRole": "Developer",
"activeSessions": 2,
"deletedSessions": 1
}
]Changes
- breaking
the response's body type changed from
objecttoarrayfor status - breaking
removed the required property
from the response with the status - warning
removed the optional property
from the response with the status
- breaking
- info
added the optional property
//to the response with the status
- info