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.

SecuritybearerAuth
Request
path Parameters
id
required
integer

Approval ID. Contact Automox Support for further assistance.

query Parameters
o
required
integer

The organization ID for the target organization.

Request Body schema: application/json
required
manual_approval
boolean
Responses
200

Successful Operation

400

Invalid Request

401

Access token is missing or invalid

403

You do not have permission to perform this action.

429

Too many requests

503

Service Unavailable

default

Invalid Request

put/approvals/{id}
Request samples
application/json
{
  • "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
    }
]