---
title: "Block Team"
method: POST
path: "/team/block"
tags: ["team management"]
---

# Block Team

`POST /team/block`

Blocks all calls from keys with this team id.

Parameters:
- team_id: str - Required. The unique identifier of the team to block.

Example:
```
curl --location 'http://0.0.0.0:4000/team/block'     --header 'Authorization: Bearer sk-1234'     --header 'Content-Type: application/json'     --data '{
    "team_id": "team-1234"
}'
```

Returns:
- The updated team record with blocked=True

## Request body

- BlockTeamRequest
  - `team_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/flock/apis/litellm-api.md) · [All operations](https://skmtc.net/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flock/litellm-api/revisions/8fbaab4fc7c5/schema)
