Initiate Patch Database 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

Triggers an update of the patch database in the Endpoint Central server to ensure the latest patch information is available.

This API endpoint is deprecating soon

Endpoints

Request URL

https://{server-hostname}:8383/api/1.4/patch/updatedb

Scope

PatchMgmt.CREATECopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request POST \
  --url https://appdomain/api/1.4/patch/updatedb \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
message_typestring

Value: updatedb

message_responseJSON Object

Database update initiation result

Show Sub-Attributes
updatedbJSON Object

DB update details

Show Sub-Attributes
sync_typestring

Sync type: Manual

sync_initiated_bystring

Username who initiated the sync

sync_timelong

Timestamp when sync was initiated

message_versionstring

API version: 1.4

statusstring

Operation status: success

- HTTP code 409

Response Body - application/json
JSON Object
Hide Sub-Attributes
message_typestring

Value: updatedb

message_responseJSON Object

Error details

Show Sub-Attributes
error_codestring

Error code: 1001 = DB update already in progress

errorstring

Human-readable error message

statusstring

Operation status: error

Possible Response Codes

200HTTP code
409HTTP code

Sample Response: HTTP 200

Manual DB sync initiated

Copied!
  {
    "message_type": "updatedb",
    "message_response": {
      "updatedb": {
        "sync_type": "Manual",
        "sync_initiated_by": "admin",
        "sync_time": 1757347980415
      }
    },
    "message_version": "1.4",
    "status": "success"
  }
                
Show full

Sample Response: HTTP 409

DB update already running

Copied!
  {
    "message_type": "updatedb",
    "message_response": {
      "error_code": 1001,
      "error": "DB update already in progress"
    },
    "status": "error"
  }
                
Show full

Duration: 1 minute | Threshold: 120 | 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.