Users
Get users in current organization
Changed onRetrieve paginated users that belong to the current authenticated user's organization. Returns user information without sensitive data like password hashes.
get/users
Request
- The document declares no server URL.
- Auth: none declared
Query parameters
searchstring
Example:john
Search users by name or email
limitnumber
Example:25
Maximum number of users to return (default: 25)
offsetnumber
Number of users to skip (default: 0)
Response
Successfully retrieved users in the organization
Example response
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "John Doe",
"email": "john.doe@example.com",
"role": "user",
"orgId": "123e4567-e89b-12d3-a456-426614174001",
"department": "hauptamt",
"createdAt": "2024-01-15T10:30:00Z"
}
],
"pagination": {
"limit": 50,
"total": 150
}
}Changes
- info
added the optional property
//to the response with the status
- info