# To check whether a shutdown task with given name already exists Check if a power operation task with the same name is already created by the same technician. ## Endpoints GET `/dcapi/tools/shutdown/tasks/taskExists` ## Request ### Request URL `https://{server-hostname}:8383/dcapi/tools/shutdown/tasks/taskExists` ### Scope `Tools.READ` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** `string` — Mandatory: `application/json` ## Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/tools/shutdown/tasks/taskExists \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP code 200 #### Response Body — application/json `JSON Object` - **taskExists** `boolean` - `true` if a shutdown/restart task with the same name or target already exists ### Possible Response Codes - **200** — HTTP code ## Sample Response: HTTP 200 ```json { "taskExists": false } ``` ## API 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.