# Retrieves available target options for scheduling a power operation task Returns the list of available default targets (computers, groups, custom groups) that can be selected when creating a scheduled power operation task. Accepts 'platform' and 'isDetailView' query parameters. ## Endpoint `GET /dcapi/tools/shutdown/tasks/defaultTargets` ## Request ### Request URL `https://`[*{serverurl}*](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)`/dcapi/tools/shutdown/tasks/defaultTargets` ### Scope `DesktopCentralCloud.Tools.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** `string` — Mandatory: `application/json` #### Query Parameters - **platform** `string` — Optional: Platform filter to scope the list of available targets. Accepted values: 1 (Windows), 2 (macOS), 3 (Linux) - **isDetailView** `boolean` — Optional: Set to true to return full target details; false returns a summary list ### Sample Request ```bash curl --request GET \ --url https://appdomains/dcapi/tools/shutdown/tasks/defaultTargets \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response ### Response Parameters #### HTTP Code 200 Response body: `application/json` - `JSON Object` - **targets** `array` — Array of target objects with targetType (CustomGroup/Domain), targetName, targetId, and computerCount ### Sample Response: HTTP 200 ```json { "targets": [ { "computerCount": 40, "targetName": "Engineering", "targetId": 1, "targetType": "CustomGroup" } ] } ``` ### Possible Response Codes - **200** `HTTP code` ## Rate Limits ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **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.