Reflag icon

Reflag

Automate your feature flagging through the Reflag API

Update Bulk Flag Specific Targets

AI-generated

Summary

Update targeting settings for multiple feature flags in bulk within a specified app and environment, optionally sending notifications and recording a change description.

Inputs

  • App Id (required) — App identifier that specifies the application containing the flags to update.
  • Env Id (required) — Environment identifier within the app where the flags are targeted.
  • Updates (required) — JSON array listing the specific updates to apply to the feature flags' targeting configurations.
  • Notifications — Boolean flag to enable or disable sending notifications about these changes to configured integrations like Slack or Linear; defaults to true.
  • Change Description — Text description of the change to be recorded in the change history for auditing purposes.

Output shape

A JSON response from the Reflag API indicating the result of the bulk update operation.

The output includes details of the update operations executed. The request supports batching to handle large input sets by splitting into multiple requests with controllable batch size and interval. Errors in individual batched requests are handled according to the node's standard error management.

Discussion