List all administrators
Returns the details of existing administrators in the Cloud Console.
📘 Note To use this API endpoint, enable the Administrator API from Druva Cloud settings.
Request
- Base URLhttps://apis.druva.com/platform
- URLhttps://apis.druva.com/platform/console/v1/admins
- AuthAPI key in header Authorization
Query parameters
Specify the maximum number of records that should be returned in a response.
Specify the desired page number
Specify the page token to access the next page of results. Keep this field blank in the first request. Use the token value received in the previous response's parameter 'nextPageToken'. NOTE: pageNumber and pageToken cannot be used together.</i>
Specify the field to sort the admins on
Specify the order in which the admins has to be sorted
Specify the string to be searched on adminName
Specify the filters to be applied
{
"lastLogin": 1234567,
"productId": [4097,8193,12289],
"adminState": [
"ACTIVE","DISABLED"
],
"provisioningMode": [
"Manual","AD_LDAP"
]
}
Filters Structure:
- lastLogin (float): Specify the last login time on which the admins has to be filtered
- productId (array of integers): Specify the productID(s) on which the admins has to be filtered. Allowed values: 4097 - DruvaCloud admins, 8193 - Insync Product admins, 12289 - Enterprise Workloads' Product admins
- adminState (array of strings): Specify the list of admin states on which the admins has to be filtered. Allowed values: ACTIVE, DISABLED
- provisioningMode (array of strings): Specify the list of creation modes on which the admins has to be filtered. Allowed values: Manual, AD_LDAP
Headers
Request content type header
Response
Success
Example response
{
"globalCustomerId": "axexxxxx-1xxx-4xxx-8xxx-5xxxxxxxxxxx",
"totalSize": 57,
"admins": [
{
"globalAdminId": "5bxxxxxx-exxx-xxex-bxxx-e00xxx98xxxx-xxx7",
"adminEmail": "sample@gmail.com",
"adminName": "sample",
"lastLogin": 1703570381.19192,
"role": "Druva Cloud",
"provisioningMode": "AD_LDAP",
"adminState": "DISABLED",
"disabledThroughMode": "Manual",
"adMappingId": 38,
"disabledOnTS": 1708675426
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.