---
title: "Organization Member Update"
method: PATCH
path: "/organization/member_update"
tags: ["organization management"]
---

# Organization Member Update

`PATCH /organization/member_update`

Update a member's role in an organization

## Request body

- OrganizationMemberUpdateRequest
  - `user_id` string, nullable
  - `user_email` string, nullable
  - `organization_id` string, required
  - `max_budget_in_organization` number, nullable
  - `role` 'proxy_admin' | 'proxy_admin_viewer' | 'org_admin' | 'internal_user' | 'internal_user_viewer' | 'team' | 'customer' — Admin Roles: PROXY_ADMIN: admin over the platform PROXY_ADMIN_VIEW_ONLY: can login, view all own keys, view all spend ORG_ADMIN: admin over a specific organization, can create teams, users only within their organization Internal User Roles: INTERNAL_USER: can login, view/create/delete their own keys, view their spend INTERNAL_USER_VIEW_ONLY: can login, view their own keys, view their own spend Team Roles: TEAM: used for JWT auth Customer Roles: CUSTOMER: External users -> these are customers

## Response `200`

Successful Response

- LiteLLMOrganizationMembershipTable — This is the table that track what organizations a user belongs to and users spend within the organization
  - `user_id` string, required
  - `organization_id` string, required
  - `user_role` string, nullable
  - `spend` number
  - `budget_id` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `user` unknown
  - `litellm_budget_table` LiteLLMBudgetTable — Represents user-controllable params for a LiteLLM_BudgetTable record
    - `budget_id` string, nullable
    - `soft_budget` number, nullable
    - `max_budget` number, nullable
    - `max_parallel_requests` integer, nullable
    - `tpm_limit` integer, nullable
    - `rpm_limit` integer, nullable
    - `model_max_budget` object, nullable
    - `budget_duration` string, nullable
  - `user_email` string, nullable

## Other responses

- `422` — Validation Error

---

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