Retrieves the role template payload used when creating roles, including product modules and permission flags. [0=Full-control; 1=Read-Write; 2=Read-Only; -1=No Access]
https://{serverurl}/emsapi/roles
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Specifies the expected response format. Set to application/addRole.v1+json to receive the role creation response template in JSON format.
curl --request GET \
--url https://appdomains/emsapi/roles \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'accept: application/umRoles.v1+json'Product-keyed permission template used while creating a role. Each product contains module list and access flags.
Product-specific permission template. Each key is the internal product name (e.g., 'desktopCentral', 'osd', 'mdm', 'SecurityAddOn') containing its module configuration template.
Display name of the product (e.g., 'Endpoint Control', 'OSD Control', 'MDM', 'Security Add-on Control').
List of module permission template objects showing which modules are available for this product. Each module includes default permission flags and optional feature restrictions.
Default permission flag for access level 0.
Default permission flag for access level 1.
Default permission flag for access level 2.
Module name (e.g., 'Configurations', 'Patch Management', 'Inventory', 'Enrollment').
Internal value identifier for the module used when creating or updating roles (e.g., 'Configurations', 'Patch Management', 'MDM Enrollment').
Access-level restriction details for modules that support 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
Full module access flag. When true, grants complete access to the module.
Role creation template payload with product modules and default permission flags.
{
"roleDetails": {
"osd": {
"displayName": "OSD Control",
"modules": [
{
"0": false,
"1": false,
"2": false,
"-1": true,
"displayName": "Imaging",
"value": "OSD Imaging"
},
{
"0": false,
"1": false,
"2": false,
"-1": true,
"displayName": "Deployment",
"value": "OSD Deployment"
}
]
},
"desktopCentral": {
"displayName": "Endpoint Control",
"modules": [
{
"0": false,
"1": false,
"2": false,
"-1": true,
"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"
},
{
"0": false,
"1": false,
"2": false,
"-1": true,
"displayName": "Inventory",
"isFeatureRestrictionAllowed": {
"read": 0,
"fullControl": 0,
"write": 0
},
"moduleId": "97913000000010506",
"value": "Inventory"
}
]
},
"mdm": {
"displayName": "MDM",
"modules": [
{
"0": false,
"1": false,
"2": false,
"-1": true,
"displayName": "Enrollment",
"value": "MDM Enrollment"
},
{
"0": false,
"1": false,
"2": false,
"-1": true,
"displayName": "Inventory",
"isFeatureRestrictionAllowed": {
"read": 0,
"fullControl": 0,
"write": 0
},
"moduleId": "186245000000000405",
"value": "MDM Inventory"
}
]
},
"SecurityAddOn": {
"displayName": "Security Add-on Control",
"modules": [
{
"0": false,
"1": false,
"2": false,
"-1": true,
"displayName": "Application Control",
"value": "Application Control"
},
{
"0": false,
"1": false,
"2": false,
"-1": true,
"displayName": "Next-Gen Antivirus",
"value": "NGAV Mgmt"
}
]
}
}
}
![]()
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.