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

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

Returns

SyncPager[Team, ListTeamsResponse]
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

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

Returns

GetTeamResponse
GetTeamResponse
🔗 GetTeamResponseReturns the created or updated team.

Usage

Get Team associated with provided team id

Parameters

id
str
required
Team Id

Returns

GetTeamResponse
GetTeamResponse
🔗 GetTeamResponseReturns the Team associated with provided team id

Usage

Deletes the Team associated with the provided Id.

Parameters

id
str
required
Team Id

Returns

DeleteTeamResponse
DeleteTeamResponse
🔗 DeleteTeamResponseSuccessfully deleted the team.

Usage

Get all role bindings associated with a team.

Parameters

id
str
required
Team Id

Returns

GetTeamPermissionsResponse
GetTeamPermissionsResponse
🔗 GetTeamPermissionsResponseReturns role bindings for the team.

Usage