---
title: "Update participant"
method: PUT
path: "/cohorts/{cohortId}/participants/{participantId}"
tags: ["Participants"]
---

# Update participant

`PUT /cohorts/{cohortId}/participants/{participantId}`

## Request

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

Update participant enrollment details

## Path parameters

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

## Request body

- object
  - `personality_type` string
  - `title` string
  - `department` string
  - `location` string
  - `custom_fields` object
  - `status` 'pending' | 'active' | 'withdrawn'
  - `withdrawal_reason` string

## Response `200`

Participant updated successfully

## Other responses

- `401`: Unauthorized
- `404`: Participant or cohort 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)
