latestOpenAPI 3.1.02026-08-236994571.1 MB

79928a3d37d3

team management

Delete Team

delete team and associated team keys

Parameters:

  • team_ids: List[str] - Required. List of team IDs to delete. Example: ["team-1234", "team-5678"]
curl --location 'http://0.0.0.0:4000/team/delete'     --header 'Authorization: Bearer sk-1234'     --header 'Content-Type: application/json'     --data-raw '{
    "team_ids": ["8d916b1c-510d-4894-a334-1c16a93344f5"]
}'
post/team/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

team_idsstring[] required

Response

Successful Response

{"stackTrail":"paths:/team/delete:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}