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 $LITELLM_MASTER_KEY"
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.
Request
- Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
- URL: https://docs.litellm.com.cn/team/{team_id}/callback/{callback_name}
- Auth: API key in header x-litellm-api-key
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
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.