latestOpenAPI 3.1.02026-08-236994571.1 MB
79928a3d37d3
Internal User management
Delete User
delete user and associated user keys
curl --location 'http://0.0.0.0:4000/user/delete'
--header 'Authorization: Bearer sk-1234'
--header 'Content-Type: application/json'
--data-raw '{
"user_ids": ["45e3e396-ee08-4a61-a88e-16b3ce7e0849"]
}'
Parameters:
- user_ids: List[str] - The list of user id's to be deleted.
post/user/delete
Headers
litellm-changed-bystring nullable
The litellm-changed-by header enables tracking of actions performed by authorized users on behalf of other users, providing an audit trail for accountability
The litellm-changed-by header enables tracking of actions performed by authorized users on behalf of other users, providing an audit trail for accountability
Request body
Response
Successful Response
{"stackTrail":"paths:/user/delete:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}