---
title: "Update concern flag status"
method: PATCH
path: "/cohorts/{cohortId}/participants/{participantId}/concern-flags/{flagId}"
tags: ["Participants"]
---

# Update concern flag status

`PATCH /cohorts/{cohortId}/participants/{participantId}/concern-flags/{flagId}`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/cohorts/{cohortId}/participants/{participantId}/concern-flags/{flagId}`
- Auth: HTTP bearer

Resolve or dismiss a participant concern flag. Resolving marks the flag as addressed with optional resolution notes. Dismissing marks it as dismissed.

## Path parameters

- `cohortId` string, uuid, required
- `participantId` string, uuid, required
- `flagId` string, uuid, required

## Request body

- object
  - `action` 'resolve' | 'dismiss', required: The action to take on the concern flag
  - `resolution_notes` string: Optional notes about the resolution

## Response `200`

Concern flag updated successfully

- object
  - `success` boolean
  - `data` object
    - `id` string, uuid
    - `status` 'addressed' | 'dismissed'
    - `resolution_notes` string
    - `addressed_by_name` string

## Other responses

- `400`: Bad request - invalid action
- `401`: Unauthorized
- `404`: Cohort, participant, or concern flag not found
- `422`: Validation error

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
