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.

Retrieve users based on specific filter criteria

post
Authorizations
ApiKeystringRequired
Body
filterstringOptional

Search criteria to filter users (optional).

permissionsstring[]Optional

Array of permissions to filter users (optional).

rolestring | nullableOptional

Specific role ID to filter users by role (optional).

onlyLockedUsersbooleanOptional

Flag to retrieve only locked users (optional).

Example: false
roleNamestringOptional

Role name to filter users (optional).

Example: BusinessRequestUser
sortingstringOptional

Sorting criteria for the results (optional).

maxResultCountintegerOptional

Maximum number of results to return (optional).

Example: 25
skipCountintegerOptional

Number of records to skip for pagination (optional).

Example: 0
Responses
200

List of users retrieved successfully

application/json
post
/api/DigitalIdentity/GetUsers

Last updated