Update manual approval record

Update a manual approval record. Set the manual_approval attribute of approval object to true to approve a patch; set it to false to reject a patch. See Using Global API Keys for more information on permission and scope requirements.

SecuritybearerAuth
Request
path Parameters
id
required
integer

Approval ID. Contact Automox Support for further assistance.

Example: 123456
query Parameters
o
required
integer

The organization ID for the target organization.

Example: o=654321
Request Body schema: application/json
required
manual_approval
boolean
Responses
200

Successful Operation

4XX

Invalid Request

default

Invalid Request

put/approvals/{id}
Request samples
application/json
{
  • "summary": "Approval request example",
  • "description": "Example request body for approving or denying software installation",
  • "value": {
    • "manual_approval": true
    }
}
Response samples
application/json
[
  • {
    • "id": 0,
    • "software_version_id": 0,
    • "policy_id": 0,
    • "manual_approval": true,
    • "manual_approval_time": "2019-08-24T14:15:22Z",
    • "auto_approval": true
    }
]