# Updates the configuration and redeploys the specified system tools task Updates the configuration of the specified system tools collection task, including tool selection, targets, and schedule settings. Re-deploys the modified task if it was already active. ## Endpoint `PUT /dcapi/tools/systemTools/{collectionId}` ## Request URL `https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/tools/systemTools/{collectionId}` ## Scope `DesktopCentralCloud.Tools.UPDATE` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — **Mandatory** - `application/collectionPersistStatus.v1+json` - **Content-Type** `string` — **Mandatory** - `application/collectionDetails.v1+json` ### Path Parameters - **collectionId** `string` — **Mandatory** - The unique identifier of the system tools collection. ### Request Body `application/json` - `JSON Object` - **label** `string` — **Mandatory** - **description** `string` — **Mandatory** - **deployAction** `string` — Optional - **rebootClientComputers** `string` — Optional - **targetDetails** `JSON Object` — Optional - **configDetails** — Optional - oneOf ## Sample Request ```curl curl --request PUT \ --url https://appdomains/dcapi/tools/systemTools/{collectionId} \ --header 'Accept: application/collectionPersistStatus.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/collectionDetails.v1+json' \ --data '{"description":"Updated task for cleaning temp files","label":"Updated Weekly Cleanup"}' ``` ## Sample Request Body ```json { "deployAction": "Deploy", "configDetails": [ { "toolDetails": { "temporaryFiles": true, "recycleBin": true } } ], "description": "Updated task for cleaning temp files", "label": "Updated Weekly Cleanup", "targetDetails": { "envType": 0, "targetValue": "Engineering", "targetType": "CustomGroup" }, "rebootClientComputers": "0" } ``` ## Response Parameters ### HTTP Code 200 Response Body: `application/json` - `JSON Object` - **status** `string` - Result of the create or update operation: success or failure. - **collectionId** `long` - Unique identifier of the created or updated task collection. ### Possible Response Codes - **200** — HTTP code ## Sample Response: HTTP 200 ```json { "collectionId": 12, "status": "success" } ``` ## Rate Limit ![](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.