# Executes an immediate power operation (shutdown, restart, logoff, lock) on the specified computers Initiates an immediate power operation on the specified computers. Accepts a JSON body specifying the operation type (shutdown, restart, logoff, lock, hibernate), target computers, shutdown message, timeout, postpone or skip options, and targeted users for selective logoff. ## Endpoints `PUT /dcapi/tools/shutdown/executeShutdownNow` ## Request URL `https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/tools/shutdown/executeShutdownNow` ## Scope `DesktopCentralCloud.Tools.UPDATE` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — **Mandatory** - `application/shutdownNowStatus.v1+json` - **Content-Type** `string` — **Mandatory** - `application/shutdownNowParams.v1+json` ### Request Body `application/json` - `JSON Object` - **computers** `JSON Array` — Optional - **mode** `string` — Optional - **operation** `string` — Optional - **operationStr** `string` — Optional - **postPoneEnabled** `boolean` — Optional - **selectedUsers** `JSON Array` — Optional - **shutdownMessage** `string` — Optional - **shutdownMessageTitle** `string` — Optional - **shutdownMode** `string` — Optional - **shutdownTimeout** `string` — Optional - **skipEnabled** `boolean` — Optional - **taskPlatformID** `string` — Optional - **skipOrPostPone** `string` — Optional - **postPoneCount** `string` — Optional ## Sample Request ```curl curl --request PUT \ --url https://appdomains/dcapi/tools/shutdown/executeShutdownNow \ --header 'Accept: application/shutdownNowStatus.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/shutdownNowParams.v1+json' \ --data '{}' ``` ## Sample Request Body ```json { "mode": "immediate", "shutdownMessageTitle": "Shutdown Notice", "postPoneEnabled": false, "operationStr": "Shutdown", "shutdownTimeout": 60, "skipEnabled": false, "shutdownMessage": "Immediate maintenance shutdown.", "shutdownMode": 1, "taskPlatformID": 1, "operation": 1, "computers": [ 101, 202 ] } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` - `JSON Object` - **status** `string` - Result of the trigger operation: success or failure - **triggeredCount** `integer` - Number of devices for which the operation was successfully triggered ## Possible Response Codes - **200** `HTTP code` ## Sample Response: HTTP 200 ```json { "triggeredCount": 2, "status": "success" } ``` ![ ](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.