team management

Block Team

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 $LITELLM_MASTER_KEY"     --header 'Content-Type: application/json'     --data '{
    "team_id": "team-1234"
}'

Returns:

  • The updated team record with blocked=True
post/team/block

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/block
  • Auth: API key in header x-litellm-api-key

Request body

team_idstring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.