Update team

Update the properties of the specified team.


One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Group.ReadWrite.All
Delegated (personal Microsoft account) Not supported.
Application Group.Read.All, Group.ReadWrite.All

Note: This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they are not a member of.

HTTP request

PATCH /teams/{id}

Request headers

Header Value
Authorization Bearer {token}. Required.
Content-Type application/json

Request body

In the request body, supply a JSON representation of team object.


If successful, this method returns a 204 No Content response code.



The following is an example of the request.

PATCH https://graph.microsoft.com/v1.0/teams/{id}
Content-type: application/json
Content-length: 211

  "memberSettings": {
    "allowCreateUpdateChannels": true
  "messagingSettings": {
    "allowUserEditMessages": true,
    "allowUserDeleteMessages": true
  "funSettings": {
    "allowGiphy": true,
    "giphyContentRating": "strict"


HTTP/1.1 204 No Content

SDK sample code

GraphServiceClient graphClient = new GraphServiceClient( authProvider );

var funSettings = new TeamFunSettings
	AllowGiphy = true,
	GiphyContentRating = GiphyRatingType.Strict,

var messagingSettings = new TeamMessagingSettings
	AllowUserEditMessages = true,
	AllowUserDeleteMessages = true,

var memberSettings = new TeamMemberSettings
	AllowCreateUpdateChannels = true,

var team = new Team
	MemberSettings = memberSettings,
	MessagingSettings = messagingSettings,
	FunSettings = funSettings,

await graphClient.Teams["{id}"]

Read the SDK documentation for details on how to add the SDK to your project and create an authProvider instance.