Wanguard icon

Wanguard

Interact with Wanguard DDoS Detection and Mitigation API

Actions160

Anomaly → Update Expiration

AI-generated

Summary

Update the expiration interval of a specific anomaly by its ID, setting how long it remains active before expiring.

Inputs

  • Anomaly ID (required) — The numeric ID of the anomaly whose expiration interval you want to update.
  • Expiration (Seconds) (required) — The new expiration interval for the anomaly, expressed in seconds.

Output shape

a single JSON object representing the updated anomaly's details

The response contains updated anomaly information; errors will be returned in error objects if they occur and 'Continue On Fail' is enabled.

Examples

Example 1: Extend the expiration interval of anomaly ID 123 to 600 seconds

Set 'Anomaly ID' to 123 and 'Expiration (Seconds)' to 600.

Discussion