latestOpenAPI 3.1.02026-08-236994571.1 MB

79928a3d37d3

organization management

Organization Member Update

Update a member's role in an organization

patch/organization/member_update

Request body

user_idstring nullable
user_emailstring nullable
organization_idstring required
max_budget_in_organizationnumber 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

Successful Response

user_idstring required
organization_idstring required
user_rolestring nullable
spendnumber
budget_idstring nullable
created_atstring date-time required
updated_atstring date-time required
{"stackTrail":"components:schemas:LiteLLM_OrganizationMembershipTable:properties:user:anyOf","oasType":"schema","type":"unknown","title":"User","nullable":true}
user_emailstring nullable