---
title: "Delete Team Callback"
method: DELETE
path: "/team/{team_id}/callback/{callback_name}"
tags: ["team management"]
---

# Delete Team Callback

`DELETE /team/{team_id}/callback/{callback_name}`

## Request

- Base URL: `https://api.sea-lion.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sea-lion.ai/team/{team_id}/callback/{callback_name}`
- Auth: API key in header `x-litellm-api-key`

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.

## Path parameters

- `team_id` string, required
- `callback_name` string, required

## Headers

- `litellm-changed-by` string, 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

## Response `200`

Successful Response

- TeamCallbackDeleteResponse
  - `status` 'success', required
  - `message` string, required
  - `data` TeamCallbackDeleteResponseData, required
    - `team_id` string, required
    - `success_callbacks` string[], required
    - `failure_callbacks` string[], required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-21** `f2fb14eab3f5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sea-lion/apis/litellm-api/changes/team/:team_id/callback/:callback_name/delete.md)

---

[API](https://skmtc.dev/sea-lion/apis/litellm-api.md) · [All operations](https://skmtc.dev/sea-lion/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sea-lion/apis/litellm-api/revisions/1ba9123c189a?raw)
