Actions21
- Organization Actions
- Computer Actions
- Application Actions
- Approval Request Actions
- Policy Actions
Approval Request → Reject
AI-generatedSummary
Reject an approval request by sending a rejection update to the ThreatLocker API.
Inputs
- Approval Request ID (required) — The unique identifier of the approval request to reject.
- Rejection Details (JSON) — Optional JSON object merged into the rejection request body, allowing custom message or other fields.
- Header Overrides — Optional collection to override request headers, including Managed Organization ID to use instead of the default credential's value.
Output shape
The operation returns the JSON response from the ThreatLocker API after updating the approval request status to rejected. This is a single JSON object representing the updated approval request.
The response format depends on the ThreatLocker API and includes the rejection status and any additional data returned. No pagination applies.
Examples
Example 1: Reject an approval request with a custom rejection message.
Set Approval Request ID to the target request's ID. Supply a JSON object with a 'message' field in Rejection Details (JSON) to explain the rejection reason.