---
title: "Update Flag Status"
method: PUT
path: "/admin/exercise-flags/{flag_id}/status"
tags: ["admin_exercise_flags"]
---

# Update Flag Status

`PUT /admin/exercise-flags/{flag_id}/status`

Update the status of an exercise flag.
Only admins can access this endpoint.

## Path parameters

- `flag_id` string, required

## Request body

- UpdateFlagStatusRequest
  - `status` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/excellence-ai/excellence-learning/revisions/c407f3b5a05b/schema)
