Retrieve Patch Approval Settings 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

Retrieves the current patch approval settings (automatic or manual).

This API endpoint is deprecating soon

Request URL

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

Scope

PatchMgmt.READCopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Sample Request

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

Response Parameters

- HTTP code 200

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

Value: approvalsettings

message_responseJSON Object

Patch approval settings data

Show Sub-Attributes
approvalsettingsJSON Object

Approval settings details

Show Sub-Attributes
patch_approvalstring

Approval mode: automatic or manual

message_versionstring

API version: 1.0

statusstring

Operation status: success

response_codestring

Response code: 200

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Current patch approval mode

Copied!
  {
    "response_code": 200,
    "message_type": "approvalsettings",
    "message_response": {
      "approvalsettings": {
        "patch_approval": "automatic"
      }
    },
    "message_version": "1.0",
    "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.