Delete Team Callback
Remove a single callback from a team
The team's other callbacks stay registered and keep firing. Use this instead of POST /team/{team_id}/disable_logging, which clears every callback on the team at once.
Every entry registered under this callback_name is removed, across callback types, so a callback registered for both "success" and "failure" is deregistered by one call.
Parameters:
- team_id (str, required): The unique identifier for the team
- callback_name (str, required): The name of the callback to remove, matched exactly as it was registered with POST /team/{team_id}/callback (e.g. "langfuse", "langsmith", "gcs")
Example curl:
curl -X DELETE 'http://localhost:4000/team/dbe2f686-a686-4896-864a-4c3924458709/callback/langsmith' -H 'Authorization: Bearer sk-1234'
Covers callbacks registered through POST /team/{team_id}/callback and the Admin UI. Teams still on the deprecated callback_settings metadata shape hold no such entries, so this returns 404 for them; POST /team/{team_id}/disable_logging remains the way to clear those.
Returns 404 if the team does not exist, or if callback_name is not registered for the team.
Path parameters
Headers
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
Response
Successful Response
Changes
Changed in 1 of the 42 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○