---
title: "List all users"
method: GET
path: "/usermanagement/v1/users"
tags: ["User Management"]
---

# List all users

`GET /usermanagement/v1/users`

## Request

- Base URL: `https://apis.druva.com/insync`
- URL: `https://apis.druva.com/insync/usermanagement/v1/users`
- Auth: API key in header `Authorization`

Returns the list of users in Druva inSync with their details.

## Query parameters

- `profileID` integer
- `storageID` integer
- `userIDs` integer[]
- `emailID` string
- `searchPrefixEmailID` string
- `searchPrefixUserName` string
- `pageToken` string
- `minAddedOn` string, date-time
- `maxAddedOn` string, date-time
- `status` 'active' | 'preserved'
- `ldapGUID` string
- `privacySettingsEnabled` boolean

## Response `200`

OK

- UserList
  - `totalSize` integer: The total number of users fetched based on applied filters.
  - `nextPageToken` string: The token to access the next page of results. This parameter will be empty for the last page of results.
  - `users` User[]
    - `userID` integer: The unique id of the user in inSync. Example - 1
    - `userName` string: The username of the user in inSync. Example - Ernie Carter
    - `emailID` string: The email address of the user. Example - ernie.carter@druva.com
    - `status` 'active' | 'preserved': The status of the user account. Example - active
    - `profileID` integer: The profile ID of the profile associated with the user. Example - 1
    - `storageID` integer: The storage ID of the storage associated with the user. Example - 1
    - `quota` string: The storage quota assigned to the user in inSync. Example - 10 GB
    - `quotaInBytes` integer: The storage quota assigned to the user (in bytes) in inSync. Example - 10737418240
    - `addedOn` string, date-time: The date on which the user was added in inSync. Example - 2019-10-25T00:00:00Z
    - `privacySettingsEnabled` string: Displays the status of the privacy setting of the user. If the value returned is True, privacy setting is enabled by the user. If the value returned is False, privacy settings is not set or user has allowed admin access to their data.
    - `ldapGUID` boolean: The AD or LDAP object GUID of the user in a hex string format. Example: B1C47201C67910458867BA19982E353E. The ldapGUID displays objectGUID if the user is imported from AD and displays entryUUID if imported from LDAP.
    - `additionalProperties` object: Contains the two keys of userIdentifierCustomAttribute and userIdentifierCustomAttributeValue if the User-Identifier Custom Attribute feature is enabled for the account and the administrator has opted to display it on the inSync UI. This field remains empty if the administrator has opted to hide the User-Identifier Custom Attribute.

## Other responses

- `400`: Bad Request
- `401`: The request did not include an authentication token or an expired authentication token was supplied.
- `403`: Access denied: Insufficient permissions. User requires specific access rights and minimum permissions. Details: https://help.druva.com/en/articles/15069296
- `404`: The requested resource was not found.
- `500`: The request was not processed due to an internal error in inSync Cloud.
- `501`: Requested HTTP method is not implemented.

---

[API](https://skmtc.dev/druva/apis/insync-cloud.md) - [All operations](https://skmtc.dev/druva/apis/insync-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/insync-cloud/revisions/a0ce6d05033c?raw)
