v1

latestOpenAPI 3.0.32026-07-2415128381.3 KB
Team Groups

Create a group

Creates a group in the team. Requires Admin right in the team.

If is_admin flag is set to true, the group would automatically get access to all project languages, overriding supplied languages object.

Requires <code>write_team_groups</code> OAuth access scope.

post/teams/{team_id}/groups

Path parameters

team_idnumber required

A unique team identifier

Request body

namestring required

Name of the group.

is_reviewerboolean required

Whether the group has reviewer access to the project. From the new permission release onwards is deprecated.

is_adminboolean required

Whether the group has Admin access to the project. From the new permission release onwards is deprecated.

role_id1 | 2 | 3 | 4 | 5

Permission template id to grab permissions from, if provided admin_rights is ignored.

admin_rightsstring[]

List of group permissions. Possible values are <code>activity</code>,<code>contributors</code>,<code>branches_create</code>,<code>branches_main_modify</code>,<code>branches_merge</code>,<code>custom_status_modify</code>,<code>download</code>,<code>glossary</code>,<code>glossary_edit</code>,<code>glossary_delete</code>,<code>keys</code>,<code>manage_languages</code>,<code>review</code>,<code>screenshots</code>,<code>settings</code>,<code>statistics</code>,<code>tasks</code>,<code>upload</code>.

Response

OK

team_idinteger