v1

latestOpenAPI 3.0.32026-07-2415128381.3 KB
Team Groups

Update a group

Updates the properties of a group. Requires Admin right in the team.

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

put/teams/{team_id}/groups/{group_id}

Path parameters

team_idnumber required

A unique team identifier

group_idnumber required

A unique identifier of the group.

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