---
title: "Change a team member's role ('admin' or 'member'; ownership cannot be assigned via the API)."
method: PATCH
path: "/api/v1/team/{userId}/role"
tags: ["Team & Users"]
---

# Change a team member's role ('admin' or 'member'; ownership cannot be assigned via the API).

`PATCH /api/v1/team/{userId}/role`

## Request

- Base URL: `https://api-dev.fusehealth.com`
- URL: `https://api-dev.fusehealth.com/api/v1/team/{userId}/role`
- Auth: API key in header `x-api-key`

Change a team member's role ('admin' or 'member'; ownership cannot be assigned via the API).

## Path parameters

- `userId` string, required

## Request body

- object
  - `role` string

## Response `200`

Success

- object
  - `success` boolean
  - `message` string
  - `data` unknown

## Other responses

- `401`: Missing, invalid, inactive, or expired API key (or JWT)
- `403`: Authenticated but not permitted (insufficient scope, wrong role, or FUSE feature not enabled)
- `404`: Resource not found (or not owned by the key's clinic)

---

[API](https://skmtc.dev/fusehealth/apis/fuse-brand-api-external.md) · [All operations](https://skmtc.dev/fusehealth/apis/fuse-brand-api-external/llms.txt) · [OpenAPI document](https://skmtc.dev/fusehealth/apis/fuse-brand-api-external/revisions/50821832728c?raw)
