ThreatLocker icon

ThreatLocker

Work with core ThreatLocker portal resources

Approval Request → Reject

AI-generated

Summary

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.

Links

Discussion