---
title: "Update a member's role in the organization."
method: PATCH
path: "/orgs/{org}/members/{member}/update-role/"
tags: ["orgs"]
---

# Update a member's role in the organization.

`PATCH /orgs/{org}/members/{member}/update-role/`

Update a member's role in the organization.

## Request body

- OrganizationMembershipRoleUpdateRequestPatch
  - `role` 'Owner' | 'Manager' | 'Member' | 'Collaborator'

## Response `200`

OK

- OrganizationMembershipRoleUpdate
  - `email` string
  - `has_two_factor` boolean
  - `joined_at` string, date-time
  - `last_login_at` string, date-time, nullable
  - `last_login_method` 'Unknown' | 'Password' | 'Social' | 'SAML' | 'OIDC'
  - `role` 'Owner' | 'Manager' | 'Member' | 'Collaborator'
  - `user` string
  - `user_id` string
  - `user_name` string
  - `user_url` string, uri
  - `visibility` 'Public' | 'Private'

## Other responses

- `400` — Request could not be processed (see detail).
- `422` — Missing or invalid parameters (see detail).

---

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