Retrieves the full details of a specific role identified by its roleId, including its description and the complete product-level module and feature permission map.
https://{serverurl}/emsapi/roles/{roleId}
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Unique role identifier. To get role id click here. Get Role Id
curl --request GET \
--url https://appdomains/emsapi/roles/{roleId} \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'Unique role identifier.
Name of the role as configured in the system.
Description of the role's purpose and access level.
Product-keyed map of module and feature permissions assigned to this role. Each key represents a product name.
Product-specific permission block. Each key is the internal product name (e.g., 'DesktopCentral') containing its module configuration.
Display name of the product (e.g., 'Desktop Central', 'Patch Manager Plus').
List of module permission objects showing which modules and features are accessible under this product for the role.
Permission flag for access level 0.
Permission flag for access level 1.
Permission flag for access level 2.
Module name (e.g., 'Configurations', 'Patch Management', 'Inventory').
Internal value identifier for the module as returned by the API.
Access-level restriction details for modules supporting read/write/fullControl granularity.
Read access level for the module.
Write access level for the module.
Full control access level for the module.
Module identifier. The Module ID can be fetched using the following API Get Module ID
Indicates full module access when set to true.
Shortened response example for get role by ID, showing product-level modules, optional feature restriction object, and 0/1/2/-1 boolean flags.
{
"roleId": "97913000000010560",
"roleName": "Security Auditor",
"roleDetails": {
"desktopCentral": {
"displayName": "Endpoint Control",
"modules": [
{
"0": false,
"1": false,
"2": false,
"-1": false,
"displayName": "Configurations",
"isFeatureRestrictionAllowed": {
"read": 2,
"fullControl": 0,
"write": 0
},
"moduleId": "97913000000010497",
"value": "Configurations"
},
{
"0": false,
"1": false,
"2": false,
"-1": true,
"displayName": "Patch Management",
"value": "Patch Management"
}
]
},
"mdm": {
"displayName": "MDM",
"modules": [
{
"0": false,
"1": false,
"2": false,
"-1": true,
"displayName": "Inventory",
"isFeatureRestrictionAllowed": {
"fullControl": 0,
"read": 0,
"write": 0
},
"moduleId": "186245000000000405",
"value": "MDM Inventory"
},
{
"0": true,
"1": false,
"2": false,
"-1": false,
"displayName": "Report",
"value": "MDM Report"
}
]
}
},
"roleDescription": "Read-only access to compliance dashboards, reports, and audit insights."
}
![]()
Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes
Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.