All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

Flagship - Flagship API reference now available

24d ago

Source

CloudflareFlagship - Flagship API reference now availablecloudflare.com
Snippet from the RSS feed
The Flagship API reference is now available. You can use the Cloudflare API to create and update apps, and to create, update, delete, and list feature flags without using the dashboard. For example, create a new boolean flag with the API: curl $ACCOUNT_ID /flagship/apps/ $APP_ID /flags \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN " \ -d '{ "key": "new-checkout", "enabled": true, "default_variation": "off", "variations": { "off": false, "on": true }, "rules": [] }' To create an API token, go to Account API Tokens in the Cloudflare dashboard and search for Flagship. The API reference includes endpoints for Flagship apps, flags, changelog entries, and flag evaluation. Agents can also use the Flagship reference in the Cloudflare skill to create and manage Flagship resources. Refer to the Flagship documentation to learn more about evaluating feature flags from your applications.

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.