key management

Bulk Update Team Keys

Apply one update payload to many keys inside a single team.

Pass team_id plus either key_ids or all_keys_in_team=True. The update_fields payload is broadcast to every selected key. Per-key failures are returned in failed_updates rather than aborting the batch.

Callable by proxy admins, or by team admins with KEY_UPDATE permission.

post/team/key/bulk_update

Headers

litellm-changed-bystring 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

The litellm-changed-by header enables tracking of actions performed by authorized users on behalf of other users, providing an audit trail for accountability

Request body

team_idstring required
key_idsstring[] nullable
all_keys_in_teamboolean

Response

Successful Response

total_requestedinteger required

Changes

Changed in 1 of the 42 revisions of this API.1