# CloudBees Flag configurations API

**Canonical:** https://apis.io/apis/cloudbees/cloudbees-flag-configurations-api/  
**Provider:** CloudBees — https://apis.io/providers/cloudbees/  
**Base URL:** https://example.cloudbees.com  
**Documentation:** https://docs.cloudbees.com/docs/cloudbees-ci-kb/latest/best-practices/best-practice-for-using-jenkins-rest-api

CloudBees Flag configurations API is one of 23 APIs that [CloudBees](https://apis.io/providers/cloudbees/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Flag configurations. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, API documentation, and authentication docs.

Set flag state (enabled or disabled) and targeting rules for a specific environment to determine which users or segments receive each variation.

## Operations (6)

| Method | Path | Summary |
|---|---|---|
| GET | `/v2/applications/{applicationId}/environments/{environmentId}/configuration` | List flag configurations for an environment |
| GET | `/v2/applications/{applicationId}/flags/{flagId}/configuration/environments/{environmentId}` | Get flag configuration for an environment |
| PUT | `/v2/applications/{applicationId}/flags/{flagId}/configuration/environments/{environmentId}` | Update flag configuration for an environment |
| PATCH | `/v2/applications/{applicationId}/flags/{flagId}/configuration/environments/{environmentId}` | Partially update flag configuration for an environment |
| POST | `/v2/applications/{applicationId}/flags/{flagId}/configuration/environments/{environmentId}/configstate` | Update flag enabled state for an environment |
| POST | `/v2/applications/{applicationId}/flags/{flagId}/environment/{environmentId}/clone` | Clone flag configuration to other environments |

## Machine-readable artifacts (6)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/cloudbees/refs/heads/main/openapi/cloudbees-flag-configurations-api-openapi.yml
- **ToolCrosswalk** — https://raw.githubusercontent.com/api-evangelist/cloudbees/refs/heads/main/mcp/cloudbees-tool-crosswalk.yml
- **DataModel** — https://raw.githubusercontent.com/api-evangelist/cloudbees/refs/heads/main/data-model/cloudbees-data-model.yml
- **APIReference** — https://apidocs.cloudbees.io/
- **Documentation** — https://docs.cloudbees.com/docs/cloudbees-unify/latest/api-references/
- **Authentication** — https://docs.cloudbees.com/docs/cloudbees-platform/latest/workflows/personal-access-token

## Other CloudBees APIs (12)

- [CloudBees CI REST API](https://apis.io/apis/cloudbees/ci/)
- [CloudBees CD/RO REST API](https://apis.io/apis/cloudbees/cd-ro/)
- [CloudBees Feature Management REST API](https://apis.io/apis/cloudbees/feature-management/)
- [CloudBees CD/RO Jenkins Plugin Steps](https://apis.io/apis/cloudbees/jenkins-plugin/)
- [CloudBees Computer API](https://apis.io/apis/cloudbees/cloudbees-computer-api/)
- [CloudBees CreateItem API](https://apis.io/apis/cloudbees/cloudbees-createitem-api/)
- [CloudBees Job API](https://apis.io/apis/cloudbees/cloudbees-job-api/)
- [CloudBees Json API](https://apis.io/apis/cloudbees/cloudbees-json-api/)
- [CloudBees Python API](https://apis.io/apis/cloudbees/cloudbees-python-api/)
- [CloudBees Queue API](https://apis.io/apis/cloudbees/cloudbees-queue-api/)
- [CloudBees Xml API](https://apis.io/apis/cloudbees/cloudbees-xml-api/)
- [CloudBees Components API](https://apis.io/apis/cloudbees/cloudbees-components-api/)

## Tags

Flag configurations

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/cloudbees/cloudbees-flag-configurations-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/cloudbees/.
