Update Patch Database 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 patch database platform settings and scheduler configuration.

Request URL

https://{server-hostname}:8383/dcapi/patch/settings/patchDatabaseSettings

Scope

PatchMgmt.UPDATECopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

- Request Body

application/json
JSON Object
Hide Sub-Attributes
windowsEnabledbooleanOptional

Whether Windows patch management is enabled

macEnabledbooleanOptional

Whether Mac patch management is enabled

linuxEnabledbooleanOptional

Whether Linux patch management is enabled

thirdPartyEnabledbooleanOptional

Whether third-party patch management is enabled

schedulerSettingsJSON ObjectOptional

Scheduler configuration for patch database sync

Show Sub-Attributes
schedulerEnabledbooleanOptional

Whether the scheduler is enabled

schedulerTypestringOptional

Scheduler type: Daily, Weekly, Monthly

schedulerTimestringOptional

Scheduled time in HH:mm format

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request PUT \
  --url https://appdomain/dcapi/patch/settings/patchDatabaseSettings \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"linuxEnabled":true,"windowsEnabled":true,"thirdPartyEnabled":true,"schedulerSettings":{"schedulerEnabled":true,"schedulerTime":"03:00","schedulerType":"Daily"},"macEnabled":true}'

Sample Request Body

Update platform and scheduler settings

Copied!
  {
    "linuxEnabled": true,
    "windowsEnabled": true,
    "thirdPartyEnabled": true,
    "schedulerSettings": {
      "schedulerEnabled": true,
      "schedulerTime": "03:00",
      "schedulerType": "Daily"
    },
    "macEnabled": true
  }
                
Show full

Response Parameters

- HTTP code 200

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

Confirmation message: patch database settings have saved successfully

- HTTP code 401

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

Error code: UAC_UNAUTHORIZED for missing or invalid credentials

error_descriptionstring

Localized description: dc.rest.authentication.unauthorized

Possible Response Codes

200HTTP code
401HTTP code

Sample Response: HTTP 200

Settings saved

Copied!
  {
    "remarks": "patch database settings have saved successfully"
  }
                
Show full

Sample Response: HTTP 401

Unauthorized access

Copied!
  {
    "error_description": "dc.rest.authentication.unauthorized",
    "error_code": "UAC_UNAUTHORIZED"
  }
                
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.