# Update Patch Database Settings Updates patch database platform settings and scheduler configuration. ## Endpoint `PUT /dcapi/patch/settings/patchDatabaseSettings` ## Request URL `https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/patch/settings/patchDatabaseSettings` ## Scope `DesktopCentralCloud.PatchMgmt.UPDATE` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Body `application/json` **JSON Object** - **windowsEnabled** `boolean` *(Optional)*: Whether Windows patch management is enabled - **macEnabled** `boolean` *(Optional)*: Whether Mac patch management is enabled - **linuxEnabled** `boolean` *(Optional)*: Whether Linux patch management is enabled - **thirdPartyEnabled** `boolean` *(Optional)*: Whether third-party patch management is enabled - **schedulerSettings** `JSON Object` *(Optional)*: Scheduler configuration for patch database sync ## Sample Request ```curl curl --request PUT \ --url https://appdomains/dcapi/patch/settings/patchDatabaseSettings \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'content-type: application/json' \ --data '{}' ``` ## Sample Request Body Update platform and scheduler settings ```json { "linuxEnabled": true, "windowsEnabled": true, "thirdPartyEnabled": true, "schedulerSettings": { "schedulerEnabled": true, "schedulerTime": "03:00", "schedulerType": "Daily" }, "macEnabled": true } ``` ## Response Parameters ### HTTP code 200 Response Body — `application/json` **JSON Object** - **remarks** `string`: Confirmation message: patch database settings have saved successfully ### HTTP code 401 Response Body — `application/json` **JSON Object** - **error_code** `string`: Error code: UAC_UNAUTHORIZED for missing or invalid credentials - **error_description** `string`: Localized description: dc.rest.authentication.unauthorized ### Possible Response Codes - **200** `HTTP code` - **401** `HTTP code` ## Sample Response: HTTP 200 Settings saved ```json { "remarks": "patch database settings have saved successfully" } ``` ## Sample Response: HTTP 401 Unauthorized access ```json { "error_description": "dc.rest.authentication.unauthorized", "error_code": "UAC_UNAUTHORIZED" } ``` ## 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.