Get Cleanup 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

Retrieves patch cleanup settings configuration.

Request URL

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

Scope

PatchMgmt.READCopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomain/dcapi/patch/settings/cleanupSettings \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

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

Whether patch cleanup is enabled

cleanupIntervalDaysstring

Interval in days between cleanup runs

cleanupOlderThanDaysstring

Delete patches older than this many days

deleteSupersededPatchesboolean

Whether to delete superseded patches

deleteDeclinedPatchesboolean

Whether to delete declined patches

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Current cleanup settings

Copied!
  {
    "cleanupOlderThanDays": 90,
    "cleanupIntervalDays": 30,
    "deleteDeclinedPatches": false,
    "cleanupEnabled": true,
    "deleteSupersededPatches": true
  }
                
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.