---
title: "Disable Team Logging"
method: POST
path: "/team/{team_id}/disable_logging"
tags: ["team management"]
---

# Disable Team Logging

`POST /team/{team_id}/disable_logging`

Disable all logging callbacks for a team

Callbacks registered through POST /team/{team_id}/callback and the Admin UI are cleared, so
re-enabling logging means registering them again with their callback_vars

Parameters:
- team_id (str, required): The unique identifier for the team

Example curl:
```
curl -X POST 'http://localhost:4000/team/dbe2f686-a686-4896-864a-4c3924458709/disable_logging'         -H 'Authorization: Bearer sk-1234'
```

## Path parameters

- `team_id` 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

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-18** `082b5fabd909` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/flock/apis/litellm-api/changes/team/:team_id/disable_logging/post.md)

---

[API](https://skmtc.dev/flock/apis/litellm-api.md) · [All operations](https://skmtc.dev/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flock/apis/litellm-api/revisions/7ed45f30a5f0?raw)
