ThreatLocker icon

ThreatLocker

Work with core ThreatLocker portal resources

Policy → Update

AI-generated

Summary

Update a ThreatLocker policy by specifying its Policy ID and applying optional JSON-formatted changes to modify the policy's details.

Inputs

  • Policy ID (required) — The unique identifier of the policy to update.
  • Changes (JSON) — Optional JSON object with changes merged into the update request body for the policy.
  • Header Overrides — Optional collection to specify a managed organization ID to override the default credential-managed ID for this request.

Output shape

a single updated policy record as a JSON object

The updated policy details are returned as a JSON object. The request uses an HTTP PUT method to the 'Policy/PolicyUpdateById' endpoint with the Policy ID and merged JSON payload. Errors may be returned in the standard API error format.

Links

Discussion