---
title: "Update Internal User Settings"
method: PATCH
path: "/update/internal_user_settings"
tags: ["SSO Settings"]
---

# Update Internal User Settings

`PATCH /update/internal_user_settings`

## Request

- Base URL: `https://api.vibebrowser.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.vibebrowser.app/update/internal_user_settings`
- Auth: one of:
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`

Update the default internal user parameters for SSO users.
These settings will be applied to new users who sign in via SSO.

## Request body

- DefaultInternalUserParams: Default parameters to apply when a new user signs in via SSO or is created on the /user/new API endpoint
  - `user_role` 'internal_user' | 'internal_user_viewer' | 'proxy_admin' | 'proxy_admin_viewer', nullable: Default role assigned to new users created
  - `max_budget` number, nullable: Default maximum budget (in USD) for new users created
  - `budget_duration` string, nullable: Default budget duration for new users (e.g. 'daily', 'weekly', 'monthly')
  - `models` string[], nullable: Default list of models that new users can access
  - `teams` union: Default teams for new users created
    - string[]
    - NewUserRequestTeam[]
      - `team_id` string, required
      - `max_budget_in_team` number, nullable
      - `user_role` 'user' | 'admin'

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/vibebrowser/apis/litellm-api.md) · [All operations](https://skmtc.dev/vibebrowser/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vibebrowser/apis/litellm-api/revisions/23d8a3c192b6?raw)
