Returns the discovery and remediation exclusion configuration, including every local admin account that is protected from the Remove Admin Rights operation.
get /dcapi/appctrl/discovery/exclusionconf
https://{serverurl}/dcapi/appctrl/discovery/exclusionconf
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
curl --request GET \
--url https://appdomains/dcapi/appctrl/discovery/exclusionconf \
--header 'Accept: application/discoveryandremediation.v1+json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'Discovery configuration ID
Customer identifier
User ID who created the configuration
User ID who last modified the configuration
Last modification timestamp in milliseconds since epoch
Type of discovery and remediation configuration (1=Automatic, 2=Manual)
Array of custom group IDs associated with the configuration (empty if none)
Array of local admin users excluded from admin rights removal
User identifier (null if not resolved)
Username of the local admin account
Domain of the user account (null if local)
Security identifier (SID) of the user account (null if not resolved)
Full display name of the user (null if not resolved)
Resource ID of the computer (null if not resolved)
Count of resources associated with this user (null if not resolved)
Whether this is a built-in administrator account
Internal error code: INTERNAL_ERROR when exception occurs fetching exclusion data
Detailed message: Unable to fetch discovery and remediation data
Discovery exclusion configuration with excluded admin accounts
{
"discId": "1",
"customGroupIds": [],
"createdBy": "6301",
"customerId": "1",
"modifiedBy": "6301",
"type": 2,
"localAdminUsers": [
{
"buildInAdminUser": false,
"resourceId": null,
"domain": null,
"resourceCount": null,
"fullName": null,
"userName": "sysadmin",
"userId": null,
"sId": null
},
{
"buildInAdminUser": false,
"resourceId": null,
"domain": null,
"resourceCount": null,
"fullName": null,
"userName": "emsadmin",
"userId": null,
"sId": null
},
{
"buildInAdminUser": true,
"resourceId": null,
"domain": null,
"resourceCount": null,
"fullName": null,
"userName": "Administrator",
"userId": null,
"sId": null
}
],
"lastModifiedOn": "1737657797133"
}
Internal error while fetching exclusion configuration
{
"errorMessage": "Unable to fetch discovery and remediation data",
"errorCode": "INTERNAL_ERROR"
}
![]()
Duration: 1 minute | Threshold: 60 | 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.