---
title: "Update primary contacts"
method: PUT
path: "/cohorts/{id}/primary-contacts"
tags: ["Cohorts"]
---

# Update primary contacts

`PUT /cohorts/{id}/primary-contacts`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/cohorts/{id}/primary-contacts`
- Auth: HTTP bearer

Update primary partner contacts for a cohort

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `contact_ids` string[], required

## Response `200`

Primary contacts updated successfully

## Other responses

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