---
title: "Sets the given member's org-scoped role."
method: PUT
path: "/organizations/{organizationId}/members/{customerId}/role"
tags: ["Organization"]
---

# Sets the given member's org-scoped role.

`PUT /organizations/{organizationId}/members/{customerId}/role`

Responds with 404 when the customer is not a member and 409 when changing the role of the
 organization's last owner.

## Path parameters

- `organizationId` string, required
- `customerId` string, uuid, required

## Request body

- ChangeOrgMemberRoleEndpointInput
  - `role` 'Owner' | 'Admin' | 'Editor' | 'Viewer', required

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

---

[API](https://skmtc.net/rapidata/apis/rapidata-api.md) · [All operations](https://skmtc.net/rapidata/apis/rapidata-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rapidata/rapidata-api/revisions/fdb89a6eb2fb/schema)
