Skip to content
Fabian Steiner edited this page Nov 4, 2026 · 2 revisions

Team

from xurrent import Team · module xurrent.teams · API resource /teams · Xurrent API docs

A team of people to which requests, tasks and problems are assigned.

Back to the overview

Fields

The named arguments of the constructor. Every other field of the API response is set as an attribute as well.

Field Type Default Converted to
id
name str None
description str None

Class methods

get_by_id

Team.get_by_id(connection_object: XurrentApiHelper, id) -> T

API: GET /teams/{id}

get_teams

Team.get_teams(connection_object: XurrentApiHelper, predefinedFilter: TeamPredefinedFilter = None, queryfilter: dict = None) -> List[T]

API: GET /teams · Enums: TeamPredefinedFilter

create

Team.create(connection_object: XurrentApiHelper, data: dict) -> T

Create a new team object.

  • connection_object: Xurrent Connection object
  • data: Data dictionary (containing the data for the new team)

API: POST /teams

Methods

ref_str

team.ref_str() -> str

Return a string representation of the object.

get_members

team.get_members() -> List[Person]

Retrieve the members of the team.

API: GET /teams/{id}/members · Uses: Person

update

team.update(data) -> T

API: PATCH /teams/{id}

enable

team.enable(new_name: str = None) -> T

Enable the team.

disable

team.disable(prefix: str = '', postfix: str = '') -> T

Disable the team.

archive

team.archive() -> T

Archive the team.

API: POST /teams/{id}/archive

restore

team.restore() -> T

Restore the team.

API: POST /teams/{id}/restore

trash

team.trash() -> T

Trash the team.

API: POST /teams/{id}/trash

get_service_instances

team.get_service_instances() -> List

Retrieve service instances assigned to this team.

API: GET /teams/{id}/service_instances · Uses: ServiceInstance

Enums

TeamPredefinedFilter

Used by: Team.get_teams

Value Description
disabled List all disabled teams
enabled List all enabled teams

Cross references

Uses:

Used by:

Clone this wiki locally