---
title: "Update Organization Member Role"
method: PUT
path: "/v1/organization/members/{userId}"
tags: ["Organization Members"]
---

# Update Organization Member Role

`PUT /v1/organization/members/{userId}`

## Request

- Base URL: `https://api.confident-ai.com`
- URL: `https://api.confident-ai.com/v1/organization/members/{userId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/confident-ai/apis/confident-ai-metrics-api/docs/v1/organization/members/:userId/put.ts> (a function with typed inputs; its response is checked against the schema)

Changes a member's organization role. Assigning the `Owner` role to another member transfers ownership, demoting the current Owner to `Admin`.

## Path parameters

- `userId` string, required

## Request body

- UpdateMemberRole
  - `roleId` string, required: The id of the role to assign to the member.

## Response `200`

- MemberResponse
  - `success` boolean, required: Indicates if the request was successful
  - `data` object, required
    - `member` Member
      - `id` string, required: Unique identifier for the member
      - `email` string, required: The member's email address
      - `name` string, nullable: The member's display name
      - `image` string, nullable: URL of the member's avatar image
      - `organizationRole` NamedRef
        - `id` string, required: Unique identifier
        - `name` string, required: Name

## Changes

> 54 revisions in range; 3 not diffed.

- **2026-05-31** `173563ada468`: 4 info
  - api tag `Organization Members` added
  - api tag `Members` removed
  - added `#/components/schemas/NamedRef` to the `data/member/organizationRole` response property `allOf` list for the response status `200`
  - removed `#/components/schemas/MemberOrganizationRole` from the `data/member/organizationRole` response property `allOf` list for the response status `200`
- **2026-05-31** `78a7dd1b6b48`: 1 info
  - endpoint added
- **2026-05-31** `d493eef38a58`: 1 breaking
  - api path removed without deprecation
- **2026-05-31** `78a7dd1b6b48`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/confident-ai/apis/confident-ai-metrics-api/changes/v1/organization/members/:userId/put.md)

---

[API](https://skmtc.dev/confident-ai/apis/confident-ai-metrics-api.md) - [All operations](https://skmtc.dev/confident-ai/apis/confident-ai-metrics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/confident-ai/apis/confident-ai-metrics-api/revisions/95cdde71b65e?raw)
