Returns computer resources for temporary access

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 computer resources for temporary access targeting. Supports pagination and search.

Request URL

https://{server-hostname}:8383/dcapi/device/computerresources

Scope

DeviceControl.READCopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

Content-TypestringMandatory
application/jsonapplication/jsonCopied!

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomain/dcapi/device/computerresources \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'Content-Type: application/json'
Show full

Response Parameters

- HTTP code 200

Response Body - application/json
JSON object
Hide Sub-Attributes
computerresourceJSON array

List of computer resource records

Show Sub-Attributes
JSON object
Show Sub-Attributes
resourceIDstring

Unique resource identifier

resourceNamestring

Computer resource name

platformIDinteger

OS platform
1=Windows,
2=Mac

friendlyNamestring

Friendly name of the computer

domainNamestring

Domain or workgroup name

- HTTP code 500

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

Error code identifying the type of error

errorMsgstring

Human-readable error message

Possible Response Codes

200HTTP code
500HTTP code

Sample Response: HTTP 200

Computer resources response

Copied!
  {
    "computerresource": [
      {
        "resourceID": "111301",
        "domainName": "ZOHOCORP",
        "resourceName": "User-PC",
        "platformID": 1,
        "friendlyName": "User-PC"
      }
    ]
  }
                
Show full

Sample Response: HTTP 500

Internal server error

Copied!
  {
    "errorCode": "INTERNAL_ERROR",
    "errorMsg": "Internal Server Error!"
  }
                
Show full

Duration: 1 minute | Threshold: 50 | 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.