Skip to main content

Methods

Retrieve all teams associated with the authenticated user. If the user is a tenant admin, returns all teams for the tenant. Pagination is available based on query parameters

Parameters

typing.Optional[int]
Number of items per page
typing.Optional[int]
Number of items to skip
typing.Optional[TeamsListRequestType]
🔗 TeamsListRequestTypeFilter teams by type

Returns

SyncPager[Team, ListTeamsResponse]
🔗 ListTeamsResponseReturns an array of teams associated with the user or tenant And also the response includes paginated data

Usage

Creates a new team or updates an existing team. It ensures that the team name is unique, valid, and that the team has at least one member. The members of the team are added or updated based on the provided emails.

Parameters

TeamManifest
required
🔗 TeamManifestTeam manifest
typing.Optional[bool]
Dry run

Returns

GetTeamResponse
🔗 GetTeamResponseReturns the created or updated team.

Usage

Get Team associated with provided team id

Parameters

str
required
Team Id

Returns

GetTeamResponse
🔗 GetTeamResponseReturns the Team associated with provided team id

Usage

Deletes the Team associated with the provided Id.

Parameters

str
required
Team Id

Returns

DeleteTeamResponse
🔗 DeleteTeamResponseSuccessfully deleted the team.

Usage

Get all role bindings associated with a team.

Parameters

str
required
Team Id

Returns

GetTeamPermissionsResponse
🔗 GetTeamPermissionsResponseReturns role bindings for the team.

Usage