---
title: "Change a member's role (owner only)"
method: PATCH
path: "/api/organization/members/{userId}"
tags: ["Organization"]
---

# Change a member's role (owner only)

`PATCH /api/organization/members/{userId}`

## Request

- Base URL: `https://api.historis.app`
- URL: `https://api.historis.app/api/organization/members/{userId}`
- Auth: HTTP bearer

## Request body

- object
  - `role` 'owner' | 'member', required

## Response `200`

Updated

- object

## Other responses

- `400`: Request failed schema validation
- `401`: Missing or invalid credentials
- `403`: Authenticated but not allowed (role/plan/policy)
- `429`: Rate limit exceeded for the caller's identity/plan
- `500`: Internal server error

---

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