---
title: "Update the scheme-derived roles of a channel member."
method: PUT
path: "/api/v4/channels/{channel_id}/members/{user_id}/schemeRoles"
tags: ["channels"]
---

# Update the scheme-derived roles of a channel member.

`PUT /api/v4/channels/{channel_id}/members/{user_id}/schemeRoles`

Update a channel member's scheme_admin/scheme_user properties. Typically this should either be `scheme_admin=false, scheme_user=true` for ordinary channel member, or `scheme_admin=true, scheme_user=true` for a channel admin.
##### Permissions
Must be authenticated and have the `manage_channel_roles` permission.

## Path parameters

- `channel_id` string, required
- `user_id` string, required

## Request body

- object
  - `scheme_admin` boolean, required
  - `scheme_user` boolean, required

## Response `200`

Channel member's scheme-derived roles updated successfully.

- 38cb7293StatusOK
  - `status` string — Will contain "ok" if the request was successful and there was nothing else to return

## Other responses

- `400` — Invalid or missing parameters in URL or request body
- `401` — No access token provided
- `403` — Do not have appropriate permissions
- `404` — Resource not found

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/1c59d729611a/schema)
