Update 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

Updates patch approval configuration settings.

Request URL

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

Scope

PatchMgmt.CREATECopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

- Request Body

application/json
JSON Object
Hide Sub-Attributes
patchApprovalEnabledbooleanOptional

Whether patch approval workflow is enabled

autoApprovalEnabledbooleanOptional

Whether auto-approval is enabled

approvalTypestringOptional

Approval type: manual or auto

approveAfterDaysstringOptional

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

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request POST \
  --url https://appdomain/dcapi/patch/settings/approvalSettings \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"autoApprovalEnabled":false,"approvalType":"manual","patchApprovalEnabled":true,"approveAfterDays":7}'

Sample Request Body

Enable auto-approval after 7 days

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

Response Parameters

- HTTP code 200

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

Operation result: success

remarksstring

Confirmation message

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Approval settings updated

Copied!
  {
    "remarks": "Approval settings updated",
    "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.