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

Request

  • Base URL: https://api.aiaw.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.aiaw.app/user/delete
  • 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

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

Request body

user_idsstring[] required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.