TeamApi
extends AbstractApi
in package
Use API to manage organization teams
Table of Contents
Methods
- addTeamToProject() : AddedProjectTeamInfo
- Add Team ToProject
- create() : Team
- Add Team
- delete() : mixed
- Delete Team
- get() : Team
- Get Team
- list() : ModelCollection
- List Teams
- update() : Team
Methods
addTeamToProject()
Add Team ToProject
public
addTeamToProject(int $projectId, array<string|int, mixed> $data) : AddedProjectTeamInfo
Parameters
- $projectId : int
- $data : array<string|int, mixed>
-
integer $data[teamId] required
boolean $data[accessToAllWorkflowSteps]
boolean $data[managerAccess]
array $data[permissions]
Tags
Return values
AddedProjectTeamInfocreate()
Add Team
public
create(array<string|int, mixed> $data) : Team
Parameters
- $data : array<string|int, mixed>
-
string $data[name]
Tags
Return values
Teamdelete()
Delete Team
public
delete(int $teamId) : mixed
Parameters
- $teamId : int
Tags
get()
Get Team
public
get(int $teamId) : Team
Parameters
- $teamId : int
Tags
Return values
Teamlist()
List Teams
public
list([array<string|int, mixed> $params = [] ]) : ModelCollection
Parameters
- $params : array<string|int, mixed> = []
Tags
Return values
ModelCollectionupdate()
public
update(Team $team) : Team
Parameters
- $team : Team