latestOpenAPI 3.1.02026-08-218667571.2 MB

a8ca30023371

Admin APIs
migrations

Assign Feature Flags To All Clients

Idempotently assign the given feature flags with value="true" to all active clients. Clients that already have a flag correctly assigned are skipped.

Body example::

{
    "feature_flag_ids": ["<uuid-1>", "<uuid-2>"],
    "dry_run": false
}

Set dry_run: true to preview what would be changed without writing to the database.

post/api/v1/admin/migrations/assign-feature-flags

Headers

X-Confirm-Destructivestring nullable

Request body

feature_flag_idsstring[] required
dry_runboolean

Response

Successful Response

statusstring required
total_clientsinteger required
successfulinteger required
skippedinteger required
failedinteger required
errorsstring[]
dry_runboolean required