---
title: "PATCH /api/v1/flags/{id}"
method: PATCH
path: "/api/v1/flags/{id}"
tags: ["moderation"]
---

# PATCH /api/v1/flags/{id}

`PATCH /api/v1/flags/{id}`

## Request

- Base URL: `https://prices.openfoodfacts.org` (the document declares no server; this is the origin it was published from)
- URL: `https://prices.openfoodfacts.org/api/v1/flags/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Request body

- PatchedFlagUpdate
  - `status` 'OPEN' | 'CLOSED': * `OPEN` - Open * `CLOSED` - Closed

## Response `200`

- FlagUpdate
  - `status` 'OPEN' | 'CLOSED': * `OPEN` - Open * `CLOSED` - Closed

## Changes

- **2026-07-13** `f1bb01adae9b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openfoodfacts/apis/open-food-facts-open-prices-rest-api/changes/api/v1/flags/:id/patch.md)

---

[API](https://skmtc.dev/openfoodfacts/apis/open-food-facts-open-prices-rest-api.md) - [All operations](https://skmtc.dev/openfoodfacts/apis/open-food-facts-open-prices-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openfoodfacts/apis/open-food-facts-open-prices-rest-api/revisions/d7c5d8b4c32e?raw)
