---
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` string, required — The new role to be applied. This can be a string or array of strings representing the roles. Eg: ["admin", "sale"]
  - `memberId` string, required — The member id to apply the role update to. Eg: "member-id"
  - `organizationId` string, nullable — 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

- `400` — Bad Request. Usually due to missing parameters, or invalid parameters.
- `401` — Unauthorized. Due to missing or invalid authentication.
- `403` — Forbidden. You do not have permission to access this resource or to perform this action.
- `404` — Not Found. The requested resource was not found.
- `429` — Too Many Requests. You have exceeded the rate limit. Try again later.
- `500` — Internal Server Error. This is a problem with the server that you cannot fix.

---

[API](https://skmtc.net/usekaneo/apis/kaneo-api.md) · [All operations](https://skmtc.net/usekaneo/apis/kaneo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usekaneo/kaneo-api/versions/09053e1c8b21/schema)
