client.teams
client.teams — the teams operations.
On AsyncKindgi every method is the same, awaited.
client.teams.list()
Section titled “client.teams.list()”list( *, limit: int | None = None, cursor: str | None = None, org_id: str | None = None, name_contains: str | None = None, timeout: float | None = None,) -> TeamCollectionPageList teams in the caller's tenant. GET /v1/teams
Cursor-paginated. Optional ?orgId= narrows to a specific org (absent = every team, including teams with no org). ?nameContains= substring-matches on Team.name.
client.teams.create()
Section titled “client.teams.create()”create( *, idempotency_key: str | None = None, timeout: float | None = None, **fields: Any,) -> CreateResourceResultCreate a team. POST /v1/teams
client.teams.get()
Section titled “client.teams.get()”get(*, timeout: float | None = None) -> TeamFetch a team by id. GET /v1/teams/{teamId}
client.teams.update()
Section titled “client.teams.update()”update( *, idempotency_key: str | None = None, timeout: float | None = None, **fields: Any,) -> NonePartially update a team. PATCH /v1/teams/{teamId}
client.teams.delete()
Section titled “client.teams.delete()”delete(*, idempotency_key: str | None = None, timeout: float | None = None) -> NoneDelete a team (idempotent, cascades memberships). DELETE /v1/teams/{teamId}