Get Approval 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 approval configuration settings.

Request URL

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

Scope

PatchMgmt.READCopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Sample Request

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

Response Parameters

- HTTP code 200

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

Whether patch approval workflow is enabled

autoApprovalEnabledboolean

Whether auto-approval is enabled

approvalTypestring

Approval type: manual or auto

approveAfterDaysstring

Number of days after which patches are auto-approved (when autoApproval is enabled)

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Manual approval enabled

Copied!
  {
    "autoApprovalEnabled": false,
    "approvalType": "manual",
    "patchApprovalEnabled": true,
    "approveAfterDays": 0
  }
                
Show full

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