Skip to main content

Expire rules by time threshold

POST 

/v1/edl/ip-rulesets/:ruleset_id/rules:expire

Immediately expire rules that would expire within the specified time threshold.

Sets expires_at = now for all rules where now <= expires_at < now + threshold. Rules are preserved for audit purposes but excluded from active queries.

Time threshold formats:

  • Hours: 5h, 5 hours, 5hr
  • Days: 10d, 10 days
  • Weeks: 2w, 2 weeks

Use cases:

  • Expire rules about to expire within a maintenance window
  • Proactive cleanup before feed refresh
  • Clear short-lived rules before importing a new batch

Note: Permanent rules (without expiration) and already expired rules are not affected.

Required Permission: read_write Required Plan: Active EDL Management plan

Request

Responses

OK