---
title: "Update Organization Member Role"
method: POST
path: "/auth/organization/update-member-role"
tags: ["Organization Management"]
---

# Update Organization Member Role

`POST /auth/organization/update-member-role`

Update the role of a member in an organization

## Request body

- object
  - `role` union, required — The new role to be applied. This can be a string or array of strings representing the roles. Eg: ["admin", "sale"]
    - string
    - string[]
  - `memberId` string, required — The member id to apply the role update to. Eg: "member-id"
  - `organizationId` string — An optional organization ID which the member is a part of to apply the role update. If not provided, you must provide session headers to get the active organization. Eg: "organization-id"

## Response `200`

Success

- object
  - `member` object, required
    - `id` string, required
    - `userId` string, required
    - `organizationId` string, required
    - `role` string, required

## Other responses

- `401` — Missing or invalid credentials

## Changes

- **2026-08-24** `200744ae0bef` — 1 breaking, 1 info
  - the request property `organizationId` became not nullable
  - request property `role` list-of-types was widened by adding types `array` to media type `application/json`
- **2026-08-24** `08bbb5bedb5d` — 2 breaking, 6 info
  - the request property `organizationId` became not nullable
  - removed the media type `application/json` for the response with the status `401`
  - the endpoint scheme security `bearerAuth` was removed from the API
  - removed the non-success response with the status `400`
  - …4 more
- **2026-03-05** `c45ef22a736c` — 1 info
  - the request property `organizationId` became nullable
- **2026-03-04** `21aca40b5846` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/usekaneo/apis/kaneo-api/changes/auth/organization/update-member-role/post.md)

---

[API](https://skmtc.dev/usekaneo/apis/kaneo-api.md) · [All operations](https://skmtc.dev/usekaneo/apis/kaneo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usekaneo/kaneo-api/revisions/9d1da42c10ce/schema)
