Enable or disable a feature flag
Enables or disables a single feature flag for a release. The change is propagated to the app's connected feature flagging provider (LaunchDarkly, Statsig, or Optimizely) and recorded on the release timeline. Obtain flagId from GET /app/{appId}/release/{releaseId}/featureFlags. Read-only flags cannot be toggled and return a 400. Returns 404 when no flag matches flagId (including when the app has no feature flagging integration installed). Returns the updated feature flag on success.
Request
- Base URLhttps://api.runway.team
- URLhttps://api.runway.team/app/{appId}/release/{releaseId}/featureFlag/{flagId}
- AuthAPI key in header X-API-Key
Path parameters
The id of the app
The id of the release. Constructed from the app's id and the release version like so: {appId}:{version}. For the GET single release endpoint, the following keywords are also accepted: live (latest completed release), next or current (current active release).
The feature flag id to toggle (from GET /app/{appId}/release/{releaseId}/featureFlags).
Request body
Response
The updated feature flag after being enabled or disabled
Changes
No recorded changes to this operation across all 1 revision of this API.