Management SDK
Installation
npm i @reflag/management-sdk
# or
yarn add @reflag/management-sdkCreate a client
import { Api } from "@reflag/management-sdk";
const api = new Api({
accessToken: process.env.REFLAG_API_KEY,
});API surface
Quick start
App-scoped client
Common workflows
Create and update a flag
Read user flags for an environment
Toggle a user flag
Read company flags for an environment
Toggle a company flag
Error handling
Example app
License
Last updated
Was this helpful?