---
title: "Update a user's project role"
method: PATCH
path: "/projects/{project_id}/members/{user_id}"
---

# Update a user's project role

`PATCH /projects/{project_id}/members/{user_id}`

Update the project role for an existing member.

The caller must have ``project:manage_members`` on the project's
organization — enforced by RLS on the user-scoped client.

## Path parameters

- `project_id` string, required
- `user_id` string, required

## Request body

- UpdateProjectMemberBody
  - `project_role_id` string, required — ID of the project role to assign.

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ionworks/apis/fastapi.md) · [All operations](https://skmtc.dev/ionworks/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ionworks/fastapi/revisions/7337a3cbdaf2/schema)
