---
title: "Update a team member's role"
method: PATCH
path: "/v1/team/{user_id}/role"
tags: ["Team"]
---

# Update a team member's role

`PATCH /v1/team/{user_id}/role`

## Request

- Base URL: `https://api.algenta.ai`
- URL: `https://api.algenta.ai/v1/team/{user_id}/role`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Change a team member's role.

## Path parameters

- `user_id` string, uuid, required

## Request body

- RoleUpdateRequest
  - `role` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/codna/apis/algenta-api.md) · [All operations](https://skmtc.dev/codna/apis/algenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/codna/apis/algenta-api/revisions/35d30f84a5df?raw)
