Skip to content

Add team_id to team resource#61

Open
TheCodingSheikh wants to merge 1 commit intoncecere:mainfrom
TheCodingSheikh:team-id
Open

Add team_id to team resource#61
TheCodingSheikh wants to merge 1 commit intoncecere:mainfrom
TheCodingSheikh:team-id

Conversation

@TheCodingSheikh
Copy link

Exposes team_id as an optional, user-specifiable field on the litellm_team resource (both the Plugin Framework and
SDKv2 implementations), mirroring the organization_id pattern from litellm_organization.

Changes:

  • team_id is Optional + Computed — users can provide a custom ID or let the API generate one
  • Changing team_id forces resource recreation (ForceNew / RequiresReplace)
  • The API response is captured on create to extract the generated team_id
  • id and team_id always reflect the same value

@TheCodingSheikh
Copy link
Author

@ncecere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant