List Patch Deployment Deprecating soon

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

Retrieves a list of all patch deployment policies configured in Endpoint Central.

This API endpoint is deprecating soon

Request URL

https://{serverurl}/api/1.4/patch/deploymentpolicies

Scope

DesktopCentralCloud.PatchMgmt.READCopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Query Parameters

searchvaluestringOptional
searchcolumnstringOptional
searchtypestringOptional
sortorderstringOptional
orderbystringOptional
pagelimitstringOptional

Number of records per page.

pageintegerOptional

Current page number for pagination.

customeridlongOptional
policynamestringOptional
platformstringOptional

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomain/api/1.4/patch/deploymentpolicies \
  --header 'Authorization: Zoho-oauthtoken  d92d4xxxxxxxxxxxxx15f52'
Show full

Response Parameters

- HTTP code 200

Response Body - application/json

JSON object
Hide Sub-Attributes
message_typestring

Value: deploymentpolicies

message_responseJSON object

Paginated deployment policies data

Show Sub-Attributes
totalstring

Total number of deployment policies

deploymentpoliciesJSON array

Array of deployment policy objects

Show Sub-Attributes
JSON object
Show Sub-Attributes
template_idlong

Unique deployment policy template identifier

template_namestring

Deployment policy name

user_idlong

User ID of the policy creator

first_namestring

Username of the policy creator

customer_idlong

Customer/tenant identifier

creation_timelong

Policy creation timestamp

modified_timelong

Policy last modified timestamp

is_template_aliveboolean

Whether the policy is active

set_as_defaultboolean

Whether this is the default deployment policy

limitstring

Records per page

pagestring

Current page number

message_versionstring

API version: 1.0

statusstring

Operation status: success

response_codestring

Response code: 200

Possible HTTP Status Codes

200HTTP code

Sample Response: HTTP 200

Paginated list of deployment policies

Copied!
  {
    "response_code": 200,
    "message_type": "deploymentpolicies",
    "message_response": {
      "total": 44,
      "deploymentpolicies": [
        {
          "creation_time": 1552544237529,
          "template_name": "My Policy 939",
          "is_template_alive": true,
          "modified_time": 1552544237529,
          "set_as_default": false,
          "user_id": 1,
          "template_id": 8103,
          "customer_id": 1,
          "first_name": "admin"
        }
      ],
      "limit": 25,
      "page": 1
    },
    "message_version": "1.0",
    "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.