---
title: "Flags whose rollout is over and whose code can be deleted"
method: GET
path: "/api/v1/flags/cleanup"
tags: ["Management"]
---

# Flags whose rollout is over and whose code can be deleted

`GET /api/v1/flags/cleanup`

## Request

- Base URL: `https://launchflag.dev`
- URL: `https://launchflag.dev/api/v1/flags/cleanup`
- Auth: HTTP bearer

Settled flags are on for everyone in every environment and unchanged long enough that the rollout is clearly finished. Each carries the reason and the edit to make.

## Response `200`

Settled and stale flags, with the edit for each

## Other responses

- `401`: A JSON error with a message that says how to fix it

---

[API](https://skmtc.dev/launchflag/apis/launchflag-api.md) · [All operations](https://skmtc.dev/launchflag/apis/launchflag-api/llms.txt) · [OpenAPI document](https://skmtc.dev/launchflag/apis/launchflag-api/revisions/e1b50c6effea?raw)
