GetUsers
Base Endpoint:
POST https://api.vlenseg.com/api/DigitalIdentity/GetUsers
Overview:
This endpoint allows admins to retrieve a list of users based on specific filter criteria such as roles, permissions, and other user attributes. The response includes details about users in the system.
Headers:
ApiKey (required): The API key for authenticating the request.
TenancyName (required): The tenancy name that identifies the tenant.
Authorization (required): Bearer token for user authentication, obtained from the Login API.
Content-Type: application/json.
Body:
filter (optional): Search criteria for filtering user data. It can be used to search by name or other user attributes.
permissions (optional): An array of permissions to filter users based on their assigned permissions.
role (optional): The specific role ID or identifier to filter users belonging to that role.
onlyLockedUsers (optional): A boolean flag indicating whether to only retrieve users who are locked (
true) or all users (false).roleName (optional): The name of the role you want to filter users by. You should choose one of this (BusinessRequestUser, ...etc)
sorting (optional): The sorting criteria for user data, if any.
maxResultCount (optional): The maximum number of user records to return in the response.
skipCount (optional): The number of records to skip for pagination purposes.
Search criteria to filter users (optional).
Array of permissions to filter users (optional).
Specific role ID to filter users by role (optional).
Flag to retrieve only locked users (optional).
falseRole name to filter users (optional).
BusinessRequestUserSorting criteria for the results (optional).
Maximum number of results to return (optional).
25Number of records to skip for pagination (optional).
0List of users retrieved successfully
Invalid request
Unauthorized, API key or token is missing/invalid
Internal server error
Last updated