# Returns computer resources for temporary access Returns computer resources for temporary access targeting. Supports pagination and search. ## Endpoints `GET /dcapi/device/computerresources` ## Request URL `https://`[*{serverurl}*](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)`/dcapi/device/computerresources` ## Scope `DesktopCentralCloud.DeviceControl.READ` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Content-Type** (`string`, Mandatory): `application/json` ### Query Parameters - **resourceID** (`long`, Optional): Resource identifier filter - **searchStr** (`string`, Optional): Search text for filtering resources - **startIndex** (`integer`, Optional): Pagination start index - **limit** (`integer`, Optional): Maximum number of records to return per page - **smart** (`boolean`, Optional): Smart search flag - **viewType** (`string`, Optional): View type or filter mode ### Sample Request ```curl curl --request GET \ --url https://appdomains/dcapi/device/computerresources \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/json' ``` ## Response Parameters ### HTTP Code 200 #### Response Body: `application/json` - `JSON Object` - **computerresource** (`JSON Array`): List of computer resource records ### Sample Response: HTTP 200 Computer resources response ```json { "computerresource": [ { "resourceID": "111301", "domainName": "ZOHOCORP", "resourceName": "User-PC", "platformID": 1, "friendlyName": "User-PC" } ] } ``` ### HTTP Code 500 #### Response Body: `application/json` - `JSON Object` - **errorCode** (`string`): Error code identifying the type of error - **errorMsg** (`string`): Human-readable error message ### Sample Response: HTTP 500 Internal server error ```json { "errorCode": "INTERNAL_ERROR", "errorMsg": "Internal Server Error!" } ``` ## Possible Response Codes - **200**: HTTP code - **500**: HTTP code ## Rate Limits ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **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.