---
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}`

## Request

- Base URL: `https://api.ionworks.com`
- URL: `https://api.ionworks.com/projects/{project_id}/members/{user_id}`
- Auth: none declared

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, uuid, required
- `user_id` string, uuid, 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

## Changes

- **2026-09-30** `ea3d377fec1a`: 2 breaking
  - for the `path` request parameter `project_id`, the format changed from no format to `uuid`
  - for the `path` request parameter `user_id`, the format changed from no format to `uuid`

[Operation history](https://skmtc.dev/ionworks/apis/ionworks-api/changes/projects/:project_id/members/:user_id/patch.md)

---

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