Skip to main content

Admin API Examples

Overview

Whether you're managing feature flags at scale, migrating between environments, or reporting on usage, these examples are designed to help platform and release engineering teams speed up workflows and enforce governance.

Common use cases

You can use these sample scripts to automate common tasks with the Admin API.

tip

All examples use the Python PyPi library for the Admin API, and require access tokens with Admin permissions. For setup instructions, see Python PyPi Library.

Flag lifecycle management

Targeting and segments

User and identity management

Metadata and reporting