# Update Deployment Policy Share Settings Updates deployment policy edit/sharing settings that control which users can edit deployment policies. ## Endpoint `PUT /dcapi/patch/deploymentPolicy/shareSettings` ## Request URL `https://`[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)`/dcapi/patch/deploymentPolicy/shareSettings` ## Scope `DesktopCentralCloud.PatchMgmt.UPDATE` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Query Parameters - **isDPEditOnAllUsers** `boolean` *(Optional)* - **isDPEditBasedOnScope** `boolean` *(Optional)* ### Request Body `application/json` `JSON Object` - **isDPEditOnAllUsers** `boolean` *(Optional)*: Whether all users can edit deployment policies - **isDPEditBasedOnScope** `boolean` *(Optional)*: Whether editing is restricted based on user scope ## Sample Request ```shell curl --request PUT \ --url https://appdomains/dcapi/patch/deploymentPolicy/shareSettings \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'content-type: application/json' \ --data '{}' ``` ### Sample Request Body Allow all users to edit deployment policies ```json { "isDPEditOnAllUsers": true, "isDPEditBasedOnScope": false } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` `JSON Object` ## Possible Response Codes - **200** `HTTP code` ## Sample Response: HTTP 200 Share settings updated ```json { "remarks": "Deployment policy share settings updated", "status": "success" } ``` ## 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.