Use this to create a new INTERNAL user with a budget. Internal Users can access LiteLLM Admin UI to make keys, request access to models. This creates a new user and generates a new api key for the new user. The new api key is returned.
Returns user id, budget + new key.
Parameters:
https://github.com/BerriAI/litellm/litellm/proxy/_types.py#L20
/user/new
. Default is None./user/new
. Default is None.Returns:
Usage Example
curl -X POST "http://localhost:4000/user/new" -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d '{
"username": "new_user",
"email": "new_user@example.com"
}'
Successful Response