Returns the list of local admin accounts excluded from admin-rights removal

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Returns the discovery and remediation exclusion configuration, including every local admin account that is protected from the Remove Admin Rights operation.

Request URL

https://{server-hostname}:8383/dcapi/appctrl/discovery/exclusionconf

Scope

AppControl.READCopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomain/dcapi/appctrl/discovery/exclusionconf \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Response Parameters

- HTTP code 200

Response Body - application/json
JSON object
Hide Sub-Attributes
discIdstring

Discovery configuration ID

customerIdstring

Customer identifier

createdBystring

User ID who created the configuration

modifiedBystring

User ID who last modified the configuration

lastModifiedOnstring

Last modification timestamp in milliseconds since epoch

typeinteger

Type of discovery and remediation configuration (1=Automatic, 2=Manual)

customGroupIdsarray

Array of custom group IDs associated with the configuration (empty if none)

localAdminUsersJSON array

Array of local admin users excluded from admin rights removal

Show Sub-Attributes
JSON object
Show Sub-Attributes
userIdstring

User identifier (null if not resolved)

userNamestring

Username of the local admin account

domainstring

Domain of the user account (null if local)

sIdstring

Security identifier (SID) of the user account (null if not resolved)

fullNamestring

Full display name of the user (null if not resolved)

resourceIdstring

Resource ID of the computer (null if not resolved)

resourceCountstring

Count of resources associated with this user (null if not resolved)

buildInAdminUserboolean

Whether this is a built-in administrator account

- HTTP code 500

Response Body - application/json
JSON object
Hide Sub-Attributes
errorCodestring

Internal error code: INTERNAL_ERROR when exception occurs fetching exclusion data

errorMessagestring

Detailed message: Unable to fetch discovery and remediation data

Possible Response Codes

200HTTP code
500HTTP code

Sample Response: HTTP 200

Discovery exclusion configuration with excluded admin accounts

Copied!
  {
    "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"
  }
                
Show full

Sample Response: HTTP 500

Internal error while fetching exclusion configuration

Copied!
  {
    "errorMessage": "Unable to fetch discovery and remediation data",
    "errorCode": "INTERNAL_ERROR"
  }
                
Show full

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.