Update Deployment Policy Share Settings

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Updates deployment policy edit/sharing settings that control which users can edit deployment policies.

Request URL

https://{serverurl}/dcapi/patch/deploymentPolicy/shareSettings

Scope

DesktopCentralCloud.PatchMgmt.UPDATECopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Query Parameters

isDPEditOnAllUsersbooleanOptional
isDPEditBasedOnScopebooleanOptional

- Request Body

application/json
JSON Object
Hide Sub-Attributes
isDPEditOnAllUsersbooleanOptional

Whether all users can edit deployment policies

isDPEditBasedOnScopebooleanOptional

Whether editing is restricted based on user scope

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
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

Copied!
  {
    "isDPEditOnAllUsers": true,
    "isDPEditBasedOnScope": false
  }
                
Show full

Response Parameters

- HTTP code 200

Response Body - application/json

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Share settings updated

Copied!
  {
    "remarks": "Deployment policy share settings updated",
    "status": "success"
  }
                
Show full

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.