Endpoint
/api/v2/tenants/{tenantId}/roles/{roleId}

Deletes a role.

Path Parameters
tenantId
string

roleId
string

Responses

OK

Endpoint
/api/v2/tenants/{tenantId}/roles/{roleId}

Gets role details.

Path Parameters
tenantId
string

roleId
string

Responses

OK

allCredentials
boolean

(Optional) - For partner specific role: To allow users in a role to view all credentials sets of all clients for a partner, provide allCredentials: true. - For client specific role: To allow users in a role to view all credential sets of all clients, provide allCredentials: true. Credential sets are client-specific. To allow users in a role to view only specific credential sets, provide only the credential set IDs of the client provided in clients.

allDevices
boolean

(Optional) - For partner specific role: To allow all users to view all client devices for a partner, provide allDevices: true. - For client specific role: To allow users to view all client devices, provide allDevices: true.

clients
array

(Optional) Configure the visibility of clients for users in a role: - For partner-level users: To allow users of a role to view specific clients, provide the respective client IDs. Note: You can also create a role without visibility of any clients. - For client-level users: To assign a role to specific clients, provide the respective client IDs.

clients.activated
clients.name
clients.uniqueId
credentialSets
array

(Optional) Configure visibility of credentials sets for users in a role: A partner or client specific role can be created to allow users in a role to view all credentials, specific credentials, or no credentials.

credentialSets.accountId
credentialSets.accountKey
credentialSets.accountName
credentialSets.apiEndPoint
credentialSets.assignedDeviceGroups
credentialSets.assignedDevices
credentialSets.assignedUsers
credentialSets.authProtocol
credentialSets.autoEnableMode
credentialSets.collectorType
Collector type.
credentialSets.community
credentialSets.credentialType
Credential type.
credentialSets.description
credentialSets.domainName
Domain name.
credentialSets.enablePassword
credentialSets.encryptPassword
credentialSets.esxPassword
credentialSets.esxUserName
credentialSets.fileAuthScope
credentialSets.managementCertificate
credentialSets.managementCertificatePassphrase
credentialSets.name
Credential set name.
credentialSets.password
Credentials of user.
credentialSets.port
credentialSets.secure
credentialSets.securityLevel
Security level.
credentialSets.securityName
credentialSets.snmpContext
credentialSets.snmpVersion
credentialSets.spAuthScope
credentialSets.spNameSpace
credentialSets.spPassword
credentialSets.spPort
credentialSets.spSecure
credentialSets.spUserName
credentialSets.sshCredentialType
SSH credential type.
credentialSets.syncDataTS
credentialSets.timeoutMs
Time out, represented in milliseconds.
credentialSets.transportType
Transport layer type.
credentialSets.uniqueId
credentialSets.universal
credentialSets.userName
Credentials of user.
defaultRole
boolean

description
string

(Optional) Short summary describing a role.

deviceGroups
array

(Optional) For partner specific role: To allow all users to view all client devices for a partner, provide allDevices: true. For client specific role: To allow users to view all client devices, provide allDevices: true.

deviceGroups.assignDevices
deviceGroups.client
deviceGroups.createdTime
deviceGroups.description
deviceGroups.deviceCount
deviceGroups.id
deviceGroups.name
deviceGroups.updatedTime
devices
array

(Optional) Configure the visibility of devices for users in a role: A partner and client specific roles can be created with visibility to all devices, specific devices and without any devices.

devices.bios
devices.clientUniqueId
devices.generalInfo
devices.id
devices.ipAddress
devices.state
devices.status
devices.type
devices.uniqueId
id
string

name
string

Role name.

permissions
array

(Optional) Assign permission sets to a role. All users in a role would be assigned these permissions. Search Permissions Sets API is used to get the list of permissions for a partner or client.

permissions.description
permissions.id
permissions.name
scope
string

(Optional) Define the applicability of a role. - Provide scope: MSP to create a partner-level role. Note: MSP indicates a Partner. - Provide scope: CLIENT to create a client-level role.

userGroups
array

(Optional) Assign users to a role. Note: - Only partner users can be assigned to a partner specific role. - Only client users can be assigned a client specific role.

userGroups.description
userGroups.name
userGroups.uniqueId
users
array

(Optional) Assign users to a role. Note: - Only partner users can be assigned to a partner specific role. - Only client users can be assigned a client specific role.

users.address
(Optional) User address.
users.altEmail
users.authType
users.changePassword
users.city
(Optional) City name.
users.country
Country name. To get the list of countries, use Get Countries API.
users.createdTime
users.designation
(Optional) User designation.
users.email
Email of the user. (Alert and report notifications are sent to the email address.)
users.firstName
User first name.
users.id
users.lastName
User last name
users.loginName
User login name.
users.mobileNumber
(Optional) User mobile number.
users.orgId
users.organizationName
users.password
Password must have a minimum of 7 characters with at least: - One number (0-9) - One special character (#,!, $,*) - One lowercase (a-z) - One uppercase (A-Z) character
users.phoneNumber
(Optional) User phone number.
users.profileImage
users.roles
(Optional) Defines permission sets to user and user groups on devices and device groups. Assign roles to a user. See Search Roles API to get roles created under a partner or client.
users.state
(Optional) State name.
users.status
users.timeZone
Time zone of the country. Use the Get Timezones API to get the list of timezones. Example: "timeZone": { "code": "EST"}
users.updatedTime
users.userAccountType
(Optional) User account type: - REGULAR - BUSINESS
users.userGroupType
(Optional) Assign users to all user groups, or specific users groups. A user can also be an individual user, NOT being part of any user group. Supported Values: ALL, NONE - If a user should be part of all user groups, provide userGroupType: ALL - If a user should be part of a specific user group, provide user group name. Example:"userGroups": [{ "name": "Luminalto Admins" }] - If a user should NOT be part of any user group, provide userGroupType: NONE
users.userGroups
(Optional) Assign users to specific user groups. Provide name of the user group.Use Search User Groups API to get details of user groups.
users.userNotifications
(Optional) Email to which the alert and report notifications are sent.
users.zip
(Optional) Zip code.
{
  "clients": [
    {
      "activated": true,
      "name": "LeoArt Corp.",
      "uniqueId": "client_9"
    },
    {
      "activated": true,
      "name": "LeoArt Lab",
      "uniqueId": "client_8"
    }
  ],
  "credentialSets": [
    {
      "autoEnableMode": false,
      "description": "Discovery credentials",
      "name": "Agent-WMI-Discovery",
      "port": 0,
      "secure": false,
      "snmpVersion": "V2",
      "spPort": 0,
      "spSecure": false,
      "timeoutMs": 10000,
      "uniqueId": "mmtKsSTyXYqtEtrRMRSmWjAh",
      "universal": true
    },
    {
      "autoEnableMode": false,
      "name": "AWS AWS Integration",
      "port": 0,
      "secure": false,
      "snmpVersion": "V2",
      "spPort": 0,
      "spSecure": false,
      "timeoutMs": 0,
      "uniqueId": "EAmBeuHhCY5hrCvHVejrccJj",
      "universal": true
    }
  ],
  "description": "Parnter Primary Admin",
  "deviceGroups": [
    {
      "createdDate": "2016-10-20T07:45:06+0000",
      "description": "Device group",
      "id": "DGP-3bc09935-6510-4205-bb6f-6d2b9561fc43",
      "name": "Dev-Group",
      "updatedDate": "2016-10-20T07:45:06+0000"
    },
    {
      "createdDate": "2016-07-24T07:27:44+0000",
      "description": "Windows Systems at HYD",
      "id": "DGP-876f73a7-c0e4-409c-a757-5c64205ff97a",
      "name": "HYD-WINDOWS",
      "updatedDate": "2016-07-24T07:33:15+0000"
    },
    {
      "createdDate": "2016-10-20T07:43:48+0000",
      "description": "testing device group",
      "id": "DGP-fbbabccc-578b-4658-9475-178ab034c20b",
      "name": "Testing-dev-group",
      "updatedDate": "2016-10-20T07:43:49+0000"
    }
  ],
  "devices": [
    {
      "clientUniqueId": "client_8",
      "generalInfo": {
        "aliasName": "res 1",
        "hostName": "HYDLPT159",
        "ipAddresses": "172.28.2.233",
        "resourceName": "172.28.2.233",
        "resourceType": "Desktop"
      },
      "id": "2912ca9f-5c62-451f-82a8-8c08ca9c9447",
      "type": "DEVICE"
    },
    {
      "generalInfo": {
        "aliasName": "res 2",
        "hostName": "HYDLPT204",
        "ipAddresses": "172.28.16.15",
        "resourceName": "172.28.16.15",
        "resourceType": "Desktop"
      },
      "id": "d628b4f1-37ad-49de-8487-43125ec3178a"
    }
  ],
  "name": "Primary Admin",
  "permissions": [
    {
      "description": "Dispatcher",
      "id": 13,
      "name": "Dispatcher"
    },
    {
      "description": "Auditor Manage",
      "id": 7,
      "name": "Auditor Manage"
    },
    {
      "description": "Auditor View",
      "id": 8,
      "name": "Auditor View"
    }
  ],
  "uniqueId": "ROLE-0074b24b-5c0b-2332-dd99-fea506f6cebd",
  "userGroups": [
    {
      "description": "LeoArt Partner Users",
      "id": 5,
      "name": "LeoArt Inc Users",
      "uniqueId": "USRGRP-5dd6cb59-b4cf-083a-29f6-7f6fc2688fd3"
    },
    {
      "description": "LeoArt Inc Escalation Users",
      "id": 6,
      "name": "LeoArt Inc Escalation Users",
      "uniqueId": "USRGRP-98c1733f-0429-001d-8196-54a85e15d49d"
    }
  ],
  "users": [
    {
      "email": "john.smith@gamil.com",
      "firstName": "LeoArt",
      "id": "USR0000000011",
      "lastName": "Inc Admin",
      "loginName": "LeoArtInc@opsramp.com",
      "phoneNumber": "8096250653"
    },
    {
      "email": "john.smith@gamil.com",
      "firstName": "LeoArt",
      "id": "USR0000000013",
      "lastName": "Inc PAdmin",
      "loginName": "LeoArtPAdmin@opsramp.com",
      "phoneNumber": "8096250653"
    }
  ]
}
Endpoint
/api/v2/tenants/{tenantId}/roles/{roleId}

Updates role details.

Path Parameters
tenantId
string

roleId
string

allCredentials
boolean

(Optional) - For partner specific role: To allow users in a role to view all credentials sets of all clients for a partner, provide allCredentials: true. - For client specific role: To allow users in a role to view all credential sets of all clients, provide allCredentials: true. Credential sets are client-specific. To allow users in a role to view only specific credential sets, provide only the credential set IDs of the client provided in clients.

allDevices
boolean

(Optional) - For partner specific role: To allow all users to view all client devices for a partner, provide allDevices: true. - For client specific role: To allow users to view all client devices, provide allDevices: true.

clients
array

(Optional) Configure the visibility of clients for users in a role: - For partner-level users: To allow users of a role to view specific clients, provide the respective client IDs. Note: You can also create a role without visibility of any clients. - For client-level users: To assign a role to specific clients, provide the respective client IDs.

clients.activated
clients.name
clients.uniqueId
credentialSets
array

(Optional) Configure visibility of credentials sets for users in a role: A partner or client specific role can be created to allow users in a role to view all credentials, specific credentials, or no credentials.

credentialSets.accountId
credentialSets.accountKey
credentialSets.accountName
credentialSets.apiEndPoint
credentialSets.assignedDeviceGroups
credentialSets.assignedDevices
credentialSets.assignedUsers
credentialSets.authProtocol
credentialSets.autoEnableMode
credentialSets.collectorType
Collector type.
credentialSets.community
credentialSets.credentialType
Credential type.
credentialSets.description
credentialSets.domainName
Domain name.
credentialSets.enablePassword
credentialSets.encryptPassword
credentialSets.esxPassword
credentialSets.esxUserName
credentialSets.fileAuthScope
credentialSets.managementCertificate
credentialSets.managementCertificatePassphrase
credentialSets.name
Credential set name.
credentialSets.password
Credentials of user.
credentialSets.port
credentialSets.secure
credentialSets.securityLevel
Security level.
credentialSets.securityName
credentialSets.snmpContext
credentialSets.snmpVersion
credentialSets.spAuthScope
credentialSets.spNameSpace
credentialSets.spPassword
credentialSets.spPort
credentialSets.spSecure
credentialSets.spUserName
credentialSets.sshCredentialType
SSH credential type.
credentialSets.syncDataTS
credentialSets.timeoutMs
Time out, represented in milliseconds.
credentialSets.transportType
Transport layer type.
credentialSets.uniqueId
credentialSets.universal
credentialSets.userName
Credentials of user.
defaultRole
boolean

description
string

(Optional) Short summary describing a role.

deviceGroups
array

(Optional) For partner specific role: To allow all users to view all client devices for a partner, provide allDevices: true. For client specific role: To allow users to view all client devices, provide allDevices: true.

deviceGroups.assignDevices
deviceGroups.client
deviceGroups.createdTime
deviceGroups.description
deviceGroups.deviceCount
deviceGroups.id
deviceGroups.name
deviceGroups.updatedTime
devices
array

(Optional) Configure the visibility of devices for users in a role: A partner and client specific roles can be created with visibility to all devices, specific devices and without any devices.

devices.bios
devices.clientUniqueId
devices.generalInfo
devices.id
devices.ipAddress
devices.state
devices.status
devices.type
devices.uniqueId
id
string

name
string

Role name.

permissions
array

(Optional) Assign permission sets to a role. All users in a role would be assigned these permissions. Search Permissions Sets API is used to get the list of permissions for a partner or client.

permissions.description
permissions.id
permissions.name
scope
string

(Optional) Define the applicability of a role. - Provide scope: MSP to create a partner-level role. Note: MSP indicates a Partner. - Provide scope: CLIENT to create a client-level role.

userGroups
array

(Optional) Assign users to a role. Note: - Only partner users can be assigned to a partner specific role. - Only client users can be assigned a client specific role.

userGroups.description
userGroups.name
userGroups.uniqueId
users
array

(Optional) Assign users to a role. Note: - Only partner users can be assigned to a partner specific role. - Only client users can be assigned a client specific role.

users.address
(Optional) User address.
users.altEmail
users.authType
users.changePassword
users.city
(Optional) City name.
users.country
Country name. To get the list of countries, use Get Countries API.
users.createdTime
users.designation
(Optional) User designation.
users.email
Email of the user. (Alert and report notifications are sent to the email address.)
users.firstName
User first name.
users.id
users.lastName
User last name
users.loginName
User login name.
users.mobileNumber
(Optional) User mobile number.
users.orgId
users.organizationName
users.password
Password must have a minimum of 7 characters with at least: - One number (0-9) - One special character (#,!, $,*) - One lowercase (a-z) - One uppercase (A-Z) character
users.phoneNumber
(Optional) User phone number.
users.profileImage
users.roles
(Optional) Defines permission sets to user and user groups on devices and device groups. Assign roles to a user. See Search Roles API to get roles created under a partner or client.
users.state
(Optional) State name.
users.status
users.timeZone
Time zone of the country. Use the Get Timezones API to get the list of timezones. Example: "timeZone": { "code": "EST"}
users.updatedTime
users.userAccountType
(Optional) User account type: - REGULAR - BUSINESS
users.userGroupType
(Optional) Assign users to all user groups, or specific users groups. A user can also be an individual user, NOT being part of any user group. Supported Values: ALL, NONE - If a user should be part of all user groups, provide userGroupType: ALL - If a user should be part of a specific user group, provide user group name. Example:"userGroups": [{ "name": "Luminalto Admins" }] - If a user should NOT be part of any user group, provide userGroupType: NONE
users.userGroups
(Optional) Assign users to specific user groups. Provide name of the user group.Use Search User Groups API to get details of user groups.
users.userNotifications
(Optional) Email to which the alert and report notifications are sent.
users.zip
(Optional) Zip code.
{
  "credentialSets": [
    {
      "uniqueId": "mmtKsSTyXYqtEtrRMRSmWjAh"
    },
    {
      "uniqueId": "EAmBeuHhCY5hrCvHVejrccJj"
    }
  ],
  "deviceGroups": [
    {
      "id": "DGP-3bc09935-6510-4205-bb6f-6d2b9561fc43"
    },
    {
      "id": "DGP-876f73a7-c0e4-409c-a757-5c64205ff97a"
    },
    {
      "id": "DGP-fbbabccc-578b-4658-9475-178ab034c20b"
    }
  ],
  "devices": [
    {
      "id": "2912ca9f-5c62-451f-82a8-8c08ca9c9447"
    },
    {
      "id": "d628b4f1-37ad-49de-8487-43125ec3178a"
    }
  ],
  "permissions": [
    {
      "id": 13
    },
    {
      "id": 7
    },
    {
      "id": 8
    }
  ],
  "userGroups": [
    {
      "uniqueId": "USRGRP-98c1733f-0429-001d-8196-54a85e15d49d"
    },
    {
      "uniqueId": "USRGRP-5dd6cb59-b4cf-083a-29f6-7f6fc2688fd3"
    }
  ],
  "users": [
    {
      "id": "USR0000000011"
    },
    {
      "id": "USR0000000013"
    }
  ]
}
{
  "allClients": true
}
{
  "clients": [
    {
      "uniqueId": "client_9"
    },
    {
      "uniqueId": "client_8"
    }
  ],
  "credentialSets": [
    {
      "uniqueId": "mmtKsSTyXYqtEtrRMRSmWjAh"
    },
    {
      "uniqueId": "EAmBeuHhCY5hrCvHVejrccJj"
    }
  ],
  "deviceGroups": [
    {
      "id": "DGP-3bc09935-6510-4205-bb6f-6d2b9561fc43"
    },
    {
      "id": "DGP-876f73a7-c0e4-409c-a757-5c64205ff97a"
    },
    {
      "id": "DGP-fbbabccc-578b-4658-9475-178ab034c20b"
    }
  ],
  "devices": [
    {
      "id": "2912ca9f-5c62-451f-82a8-8c08ca9c9447"
    },
    {
      "id": "d628b4f1-37ad-49de-8487-43125ec3178a"
    }
  ],
  "permissions": [
    {
      "id": 13
    },
    {
      "id": 7
    },
    {
      "id": 8
    }
  ],
  "userGroups": [
    {
      "uniqueId": "USRGRP-98c1733f-0429-001d-8196-54a85e15d49d"
    },
    {
      "uniqueId": "USRGRP-5dd6cb59-b4cf-083a-29f6-7f6fc2688fd3"
    }
  ],
  "users": [
    {
      "id": "USR0000000011"
    },
    {
      "id": "USR0000000013"
    }
  ]
}
{
  "clients": [
    {
      "uniqueId": "client_9"
    },
    {
      "uniqueId": "client_8"
    }
  ]
}

Responses

OK

allCredentials
boolean

(Optional) - For partner specific role: To allow users in a role to view all credentials sets of all clients for a partner, provide allCredentials: true. - For client specific role: To allow users in a role to view all credential sets of all clients, provide allCredentials: true. Credential sets are client-specific. To allow users in a role to view only specific credential sets, provide only the credential set IDs of the client provided in clients.

allDevices
boolean

(Optional) - For partner specific role: To allow all users to view all client devices for a partner, provide allDevices: true. - For client specific role: To allow users to view all client devices, provide allDevices: true.

clients
array

(Optional) Configure the visibility of clients for users in a role: - For partner-level users: To allow users of a role to view specific clients, provide the respective client IDs. Note: You can also create a role without visibility of any clients. - For client-level users: To assign a role to specific clients, provide the respective client IDs.

clients.activated
clients.name
clients.uniqueId
credentialSets
array

(Optional) Configure visibility of credentials sets for users in a role: A partner or client specific role can be created to allow users in a role to view all credentials, specific credentials, or no credentials.

credentialSets.accountId
credentialSets.accountKey
credentialSets.accountName
credentialSets.apiEndPoint
credentialSets.assignedDeviceGroups
credentialSets.assignedDevices
credentialSets.assignedUsers
credentialSets.authProtocol
credentialSets.autoEnableMode
credentialSets.collectorType
Collector type.
credentialSets.community
credentialSets.credentialType
Credential type.
credentialSets.description
credentialSets.domainName
Domain name.
credentialSets.enablePassword
credentialSets.encryptPassword
credentialSets.esxPassword
credentialSets.esxUserName
credentialSets.fileAuthScope
credentialSets.managementCertificate
credentialSets.managementCertificatePassphrase
credentialSets.name
Credential set name.
credentialSets.password
Credentials of user.
credentialSets.port
credentialSets.secure
credentialSets.securityLevel
Security level.
credentialSets.securityName
credentialSets.snmpContext
credentialSets.snmpVersion
credentialSets.spAuthScope
credentialSets.spNameSpace
credentialSets.spPassword
credentialSets.spPort
credentialSets.spSecure
credentialSets.spUserName
credentialSets.sshCredentialType
SSH credential type.
credentialSets.syncDataTS
credentialSets.timeoutMs
Time out, represented in milliseconds.
credentialSets.transportType
Transport layer type.
credentialSets.uniqueId
credentialSets.universal
credentialSets.userName
Credentials of user.
defaultRole
boolean

description
string

(Optional) Short summary describing a role.

deviceGroups
array

(Optional) For partner specific role: To allow all users to view all client devices for a partner, provide allDevices: true. For client specific role: To allow users to view all client devices, provide allDevices: true.

deviceGroups.assignDevices
deviceGroups.client
deviceGroups.createdTime
deviceGroups.description
deviceGroups.deviceCount
deviceGroups.id
deviceGroups.name
deviceGroups.updatedTime
devices
array

(Optional) Configure the visibility of devices for users in a role: A partner and client specific roles can be created with visibility to all devices, specific devices and without any devices.

devices.bios
devices.clientUniqueId
devices.generalInfo
devices.id
devices.ipAddress
devices.state
devices.status
devices.type
devices.uniqueId
id
string

name
string

Role name.

permissions
array

(Optional) Assign permission sets to a role. All users in a role would be assigned these permissions. Search Permissions Sets API is used to get the list of permissions for a partner or client.

permissions.description
permissions.id
permissions.name
scope
string

(Optional) Define the applicability of a role. - Provide scope: MSP to create a partner-level role. Note: MSP indicates a Partner. - Provide scope: CLIENT to create a client-level role.

userGroups
array

(Optional) Assign users to a role. Note: - Only partner users can be assigned to a partner specific role. - Only client users can be assigned a client specific role.

userGroups.description
userGroups.name
userGroups.uniqueId
users
array

(Optional) Assign users to a role. Note: - Only partner users can be assigned to a partner specific role. - Only client users can be assigned a client specific role.

users.address
(Optional) User address.
users.altEmail
users.authType
users.changePassword
users.city
(Optional) City name.
users.country
Country name. To get the list of countries, use Get Countries API.
users.createdTime
users.designation
(Optional) User designation.
users.email
Email of the user. (Alert and report notifications are sent to the email address.)
users.firstName
User first name.
users.id
users.lastName
User last name
users.loginName
User login name.
users.mobileNumber
(Optional) User mobile number.
users.orgId
users.organizationName
users.password
Password must have a minimum of 7 characters with at least: - One number (0-9) - One special character (#,!, $,*) - One lowercase (a-z) - One uppercase (A-Z) character
users.phoneNumber
(Optional) User phone number.
users.profileImage
users.roles
(Optional) Defines permission sets to user and user groups on devices and device groups. Assign roles to a user. See Search Roles API to get roles created under a partner or client.
users.state
(Optional) State name.
users.status
users.timeZone
Time zone of the country. Use the Get Timezones API to get the list of timezones. Example: "timeZone": { "code": "EST"}
users.updatedTime
users.userAccountType
(Optional) User account type: - REGULAR - BUSINESS
users.userGroupType
(Optional) Assign users to all user groups, or specific users groups. A user can also be an individual user, NOT being part of any user group. Supported Values: ALL, NONE - If a user should be part of all user groups, provide userGroupType: ALL - If a user should be part of a specific user group, provide user group name. Example:"userGroups": [{ "name": "Luminalto Admins" }] - If a user should NOT be part of any user group, provide userGroupType: NONE
users.userGroups
(Optional) Assign users to specific user groups. Provide name of the user group.Use Search User Groups API to get details of user groups.
users.userNotifications
(Optional) Email to which the alert and report notifications are sent.
users.zip
(Optional) Zip code.
{
  "credentialSets": [
    {
      "autoEnableMode": false,
      "description": "Discovery credentials",
      "name": "Agent-WMI-Discovery",
      "port": 0,
      "secure": false,
      "snmpVersion": "V2",
      "spPort": 0,
      "spSecure": false,
      "timeoutMs": 10000,
      "uniqueId": "mmtKsSTyXYqtEtrRMRSmWjAh",
      "universal": true
    },
    {
      "autoEnableMode": false,
      "name": "AWS AWS Integration",
      "port": 0,
      "secure": false,
      "snmpVersion": "V2",
      "spPort": 0,
      "spSecure": false,
      "timeoutMs": 0,
      "uniqueId": "EAmBeuHhCY5hrCvHVejrccJj",
      "universal": true
    }
  ],
  "description": "Client Primary Admin",
  "deviceGroups": [
    {
      "createdDate": "2016-10-20T07:45:06+0000",
      "description": "Device group",
      "id": "DGP-3bc09935-6510-4205-bb6f-6d2b9561fc43",
      "name": "Dev-Group",
      "updatedDate": "2016-10-20T07:45:06+0000"
    },
    {
      "createdDate": "2016-07-24T07:27:44+0000",
      "description": "Windows Systems at HYD",
      "id": "DGP-876f73a7-c0e4-409c-a757-5c64205ff97a",
      "name": "HYD-WINDOWS",
      "updatedDate": "2016-07-24T07:33:15+0000"
    },
    {
      "createdDate": "2016-10-20T07:43:48+0000",
      "description": "testing device group",
      "id": "DGP-fbbabccc-578b-4658-9475-178ab034c20b",
      "name": "Testing-dev-group",
      "updatedDate": "2016-10-20T07:43:49+0000"
    }
  ],
  "devices": [
    {
      "generalInfo": {
        "hostName": "HYDLPT159",
        "ipAddresses": "172.28.2.233"
      },
      "id": "2912ca9f-5c62-451f-82a8-8c08ca9c9447",
      "type": "DEVICE"
    },
    {
      "generalInfo": {
        "hostName": "HYDLPT204",
        "ipAddresses": "172.28.16.15"
      },
      "id": "d628b4f1-37ad-49de-8487-43125ec3178a",
      "type": "DEVICE"
    },
    {
      "generalInfo": {
        "hostName": "HYDLPT223",
        "ipAddresses": "172.24.221.214"
      },
      "id": "cef92862-2f57-4065-8756-5cb8001d7282",
      "type": "DEVICE"
    },
    {
      "generalInfo": {
        "hostName": "HYDLPT420",
        "ipAddresses": "169.254.174.112"
      },
      "id": "f5e00639-7fd7-482f-a3e1-8a05edf28abb",
      "type": "DEVICE"
    }
  ],
  "name": "Client Admin",
  "permissions": [
    {
      "description": "Dispatcher",
      "id": 13,
      "name": "Dispatcher"
    },
    {
      "description": "Auditor Manage",
      "id": 7,
      "name": "Auditor Manage"
    },
    {
      "description": "Auditor View",
      "id": 8,
      "name": "Auditor View"
    }
  ],
  "uniqueId": "ROLE-0074b24b-5c0b-2332-dd99-fea506f6cebd",
  "userGroups": [
    {
      "description": "LeoArt Client Users",
      "name": "LeoArt Client Users",
      "uniqueId": "USRGRP-5dd6cb59-b4cf-083a-29f6-7f6fc2688fd3"
    },
    {
      "description": "LeoArt Inc Escalation Users",
      "name": "LeoArt Inc Escalation Users",
      "uniqueId": "USRGRP-98c1733f-0429-001d-8196-54a85e15d49d"
    }
  ],
  "users": [
    {
      "email": "john.smith@gamil.com",
      "firstName": "LeoArt",
      "id": "USR0000000011",
      "lastName": "Inc Admin",
      "loginName": "LeoArtInc@opsramp.com",
      "phoneNumber": "8096250653"
    },
    {
      "email": "john.smith@gamil.com",
      "firstName": "LeoArt",
      "id": "USR0000000013",
      "lastName": "Inc PAdmin",
      "loginName": "LeoArtPAdmin@opsramp.com",
      "phoneNumber": "8096250653"
    }
  ]
}
{
  "allClients": true,
  "credentialSets": [
    {
      "autoEnableMode": false,
      "description": "SSH Credentials",
      "name": "SSH",
      "port": 222,
      "secure": false,
      "snmpVersion": "V2",
      "spPort": 0,
      "spSecure": false,
      "timeoutMs": 10000,
      "uniqueId": "GxGJJk65Vr6mGUTx8uGBgMNx",
      "universal": true
    },
    {
      "autoEnableMode": false,
      "description": "SSH Credential for Device Loggings",
      "name": "SSH Credential for Device Loggings",
      "port": 22,
      "secure": false,
      "snmpVersion": "V2",
      "spPort": 0,
      "spSecure": false,
      "timeoutMs": 10000,
      "uniqueId": "y9rxRm4sMP6u5sWRKMqUu6cz",
      "universal": true
    }
  ],
  "defaultRole": false,
  "description": "Client Network Administrator",
  "deviceGroups": [
    {
      "createdDate": "2016-10-20T07:43:48+0000",
      "description": "testing device group",
      "id": "DGP-fbbabccc-578b-4658-9475-178ab034c20b",
      "name": "Testing-dev-group",
      "updatedDate": "2016-10-20T07:43:49+0000"
    },
    {
      "createdDate": "2016-12-03T17:43:05+0000",
      "description": "These are the main devices those always needs to be in up state.",
      "id": "DGP-3cac84fa-1613-4035-ac23-e44c0a450a9c",
      "name": "Up Agent Devices",
      "updatedDate": "2016-12-05T16:00:46+0000"
    }
  ],
  "devices": [
    {
      "clientUniqueId": "client_8",
      "generalInfo": {
        "hostName": "HYDLPT044",
        "ipAddresses": "172.24.102.169"
      },
      "id": "43d49023-4c47-4dbf-a59b-9c40610e1ab8",
      "type": "DEVICE"
    },
    {
      "clientUniqueId": "client_9",
      "generalInfo": {
        "hostName": "172.30.143.112",
        "ipAddresses": "172.30.143.112"
      },
      "id": "ec9ac14c-c566-41da-8b61-1452357b6506",
      "type": "DEVICE"
    }
  ],
  "name": "Network Admin",
  "permissions": [
    {
      "description": "Partner Administrator",
      "id": 11,
      "name": "Partner Administrator"
    },
    {
      "description": "Dispatcher",
      "id": 13,
      "name": "Dispatcher"
    }
  ],
  "uniqueId": "ROLE-0074b24b-5c0b-2332-dd99-fea506f6cebd",
  "userGroups": [
    {
      "description": "NECE Partner Users",
      "name": "NECE Inc Users",
      "uniqueId": "USRGRP-5dd6cb59-b4cf-083a-29f6-7f6fc2688fd3"
    },
    {
      "description": "NECE Inc Escalation Users",
      "name": "NECE Inc Escalation Users",
      "uniqueId": "USRGRP-98c1733f-0429-001d-8196-54a85e15d49d"
    }
  ],
  "users": [
    {
      "email": "john.smith@gamil.com",
      "firstName": "NECE",
      "id": "USR0000000011",
      "lastName": "Inc Admin",
      "loginName": "NECEInc@opsramp.com",
      "phoneNumber": "8096250653"
    },
    {
      "email": "john.smith@gamil.com",
      "firstName": "NECE",
      "id": "USR0000000013",
      "lastName": "Inc PAdmin",
      "loginName": "NECEPAdmin@opsramp.com",
      "phoneNumber": "8096250653"
    }
  ]
}
{
  "clients": [
    {
      "activated": true,
      "name": "LeoArt Corp.",
      "uniqueId": "client_9"
    },
    {
      "activated": true,
      "name": "LeoArt Lab",
      "uniqueId": "client_8"
    }
  ],
  "credentialSets": [
    {
      "autoEnableMode": false,
      "description": "Discovery credentials",
      "name": "Agent-WMI-Discovery",
      "port": 0,
      "secure": false,
      "snmpVersion": "V2",
      "spPort": 0,
      "spSecure": false,
      "timeoutMs": 10000,
      "uniqueId": "mmtKsSTyXYqtEtrRMRSmWjAh",
      "universal": true
    },
    {
      "autoEnableMode": false,
      "name": "AWS AWS Integration",
      "port": 0,
      "secure": false,
      "snmpVersion": "V2",
      "spPort": 0,
      "spSecure": false,
      "timeoutMs": 0,
      "uniqueId": "EAmBeuHhCY5hrCvHVejrccJj",
      "universal": true
    }
  ],
  "description": "Parnter Primary Admin",
  "deviceGroups": [
    {
      "createdDate": "2016-10-20T07:45:06+0000",
      "description": "Device group",
      "id": "DGP-3bc09935-6510-4205-bb6f-6d2b9561fc43",
      "name": "Dev-Group",
      "updatedDate": "2016-10-20T07:45:06+0000"
    },
    {
      "createdDate": "2016-07-24T07:27:44+0000",
      "description": "Windows Systems at HYD",
      "id": "DGP-876f73a7-c0e4-409c-a757-5c64205ff97a",
      "name": "HYD-WINDOWS",
      "updatedDate": "2016-07-24T07:33:15+0000"
    },
    {
      "createdDate": "2016-10-20T07:43:48+0000",
      "description": "testing device group",
      "id": "DGP-fbbabccc-578b-4658-9475-178ab034c20b",
      "name": "Testing-dev-group",
      "updatedDate": "2016-10-20T07:43:49+0000"
    }
  ],
  "devices": [
    {
      "clientUniqueId": "client_8",
      "generalInfo": {
        "hostName": "HYDLPT159",
        "ipAddresses": "172.28.2.233"
      },
      "id": "2912ca9f-5c62-451f-82a8-8c08ca9c9447",
      "type": "DEVICE"
    },
    {
      "clientUniqueId": "client_8",
      "generalInfo": {
        "hostName": "HYDLPT204",
        "ipAddresses": "172.28.16.15"
      },
      "id": "d628b4f1-37ad-49de-8487-43125ec3178a",
      "type": "DEVICE"
    },
    {
      "clientUniqueId": "client_9",
      "generalInfo": {
        "hostName": "HYDLPT223",
        "ipAddresses": "172.24.221.214"
      },
      "id": "cef92862-2f57-4065-8756-5cb8001d7282",
      "type": "DEVICE"
    },
    {
      "clientUniqueId": "client_9",
      "generalInfo": {
        "hostName": "HYDLPT420",
        "ipAddresses": "169.254.174.112"
      },
      "id": "f5e00639-7fd7-482f-a3e1-8a05edf28abb",
      "type": "DEVICE"
    }
  ],
  "name": "Primary Admin",
  "permissions": [
    {
      "description": "Dispatcher",
      "id": 13,
      "name": "Dispatcher"
    },
    {
      "description": "Auditor Manage",
      "id": 7,
      "name": "Auditor Manage"
    },
    {
      "description": "Auditor View",
      "id": 8,
      "name": "Auditor View"
    }
  ],
  "uniqueId": "ROLE-0074b24b-5c0b-2332-dd99-fea506f6cebd",
  "userGroups": [
    {
      "description": "LeoArt Partner Users",
      "name": "LeoArt Inc Users",
      "uniqueId": "USRGRP-5dd6cb59-b4cf-083a-29f6-7f6fc2688fd3"
    },
    {
      "description": "LeoArt Inc Escalation Users",
      "name": "LeoArt Inc Escalation Users",
      "uniqueId": "USRGRP-98c1733f-0429-001d-8196-54a85e15d49d"
    }
  ],
  "users": [
    {
      "email": "john.smith@gamil.com",
      "firstName": "LeoArt",
      "id": "USR0000000011",
      "lastName": "Inc Admin",
      "loginName": "LeoArtInc@opsramp.com",
      "phoneNumber": "8096250653"
    },
    {
      "email": "john.smith@gamil.com",
      "firstName": "LeoArt",
      "id": "USR0000000013",
      "lastName": "Inc PAdmin",
      "loginName": "LeoArtPAdmin@opsramp.com",
      "phoneNumber": "8096250653"
    }
  ]
}
{
  "clients": [
    {
      "activated": true,
      "name": "LeoArt Corp.",
      "uniqueId": "client_9"
    },
    {
      "activated": true,
      "name": "LeoArt Lab",
      "uniqueId": "client_8"
    }
  ],
  "credentialSets": [
    {
      "autoEnableMode": false,
      "description": "Discovery credentials",
      "name": "Agent-WMI-Discovery",
      "port": 0,
      "secure": false,
      "snmpVersion": "V2",
      "spPort": 0,
      "spSecure": false,
      "timeoutMs": 10000,
      "uniqueId": "mmtKsSTyXYqtEtrRMRSmWjAh",
      "universal": true
    },
    {
      "autoEnableMode": false,
      "name": "AWS AWS Integration",
      "port": 0,
      "secure": false,
      "snmpVersion": "V2",
      "spPort": 0,
      "spSecure": false,
      "timeoutMs": 0,
      "uniqueId": "EAmBeuHhCY5hrCvHVejrccJj",
      "universal": true
    }
  ],
  "description": "Parnter Primary Admin",
  "deviceGroups": [
    {
      "createdDate": "2016-10-20T07:45:06+0000",
      "description": "Device group",
      "id": "DGP-3bc09935-6510-4205-bb6f-6d2b9561fc43",
      "name": "Dev-Group",
      "updatedDate": "2016-10-20T07:45:06+0000"
    },
    {
      "createdDate": "2016-07-24T07:27:44+0000",
      "description": "Windows Systems at HYD",
      "id": "DGP-876f73a7-c0e4-409c-a757-5c64205ff97a",
      "name": "HYD-WINDOWS",
      "updatedDate": "2016-07-24T07:33:15+0000"
    },
    {
      "createdDate": "2016-10-20T07:43:48+0000",
      "description": "testing device group",
      "id": "DGP-fbbabccc-578b-4658-9475-178ab034c20b",
      "name": "Testing-dev-group",
      "updatedDate": "2016-10-20T07:43:49+0000"
    }
  ],
  "devices": [
    {
      "clientUniqueId": "client_8",
      "generalInfo": {
        "hostName": "HYDLPT159",
        "ipAddresses": "172.28.2.233"
      },
      "id": "2912ca9f-5c62-451f-82a8-8c08ca9c9447",
      "type": "DEVICE"
    },
    {
      "clientUniqueId": "client_8",
      "generalInfo": {
        "hostName": "HYDLPT204",
        "ipAddresses": "172.28.16.15"
      },
      "id": "d628b4f1-37ad-49de-8487-43125ec3178a",
      "type": "DEVICE"
    },
    {
      "clientUniqueId": "client_9",
      "generalInfo": {
        "hostName": "HYDLPT223",
        "ipAddresses": "172.24.221.214"
      },
      "id": "cef92862-2f57-4065-8756-5cb8001d7282",
      "type": "DEVICE"
    },
    {
      "clientUniqueId": "client_9",
      "generalInfo": {
        "hostName": "HYDLPT420",
        "ipAddresses": "169.254.174.112"
      },
      "id": "f5e00639-7fd7-482f-a3e1-8a05edf28abb",
      "type": "DEVICE"
    }
  ],
  "name": "Primary Admin",
  "permissions": [
    {
      "description": "Dispatcher",
      "id": 13,
      "name": "Dispatcher"
    },
    {
      "description": "Auditor Manage",
      "id": 7,
      "name": "Auditor Manage"
    },
    {
      "description": "Auditor View",
      "id": 8,
      "name": "Auditor View"
    }
  ],
  "uniqueId": "ROLE-0074b24b-5c0b-2332-dd99-fea506f6cebd",
  "userGroups": [
    {
      "description": "LeoArt Partner Users",
      "id": 5,
      "name": "LeoArt Inc Users",
      "uniqueId": "USRGRP-5dd6cb59-b4cf-083a-29f6-7f6fc2688fd3"
    },
    {
      "description": "LeoArt Inc Escalation Users",
      "id": 6,
      "name": "LeoArt Inc Escalation Users",
      "uniqueId": "USRGRP-98c1733f-0429-001d-8196-54a85e15d49d"
    }
  ],
  "users": [
    {
      "email": "john.smith@gamil.com",
      "firstName": "LeoArt",
      "id": "USR0000000011",
      "lastName": "Inc Admin",
      "loginName": "LeoArtInc@opsramp.com",
      "phoneNumber": "8096250653"
    },
    {
      "email": "john.smith@gamil.com",
      "firstName": "LeoArt",
      "id": "USR0000000013",
      "lastName": "Inc PAdmin",
      "loginName": "LeoArtPAdmin@opsramp.com",
      "phoneNumber": "8096250653"
    }
  ]
}