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

Request

  • Base URL: https://carbonarc.ai (the document declares no server; this is the origin it was published from)
  • URL: https://carbonarc.ai/api/v1/admin/migrations/assign-feature-flags
  • Auth: OAuth 2 (authorization code, authorization URL authorize, token URL token)

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

Changes

No recorded changes to this operation across all 4 revisions of this API.