team management

Bulk Update Team Member Permissions

Changed on

Append permissions to existing teams.

Either pass team_ids to target specific teams, or set apply_to_all_teams=True to update every team. For each team, the provided permissions are merged with the team's existing permissions (duplicates are skipped).

post/team/permissions_bulk_update

Request

  • Base URL: https://api.sea-lion.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.sea-lion.ai/team/permissions_bulk_update
  • Auth: API key in header x-litellm-api-key

Request body

permissionsKeyManagementRoutes[] required
team_idsstring[] nullable
apply_to_all_teamsboolean

Response

Successful Response

messagestring required
teams_updatedinteger required
permissions_appendedstring[] nullable

Changes