Create teamworkTag

Namespace: microsoft.graph


APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Create a standard tag for members in the 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 most to least privileged)
Delegated (work or school account) TeamworkTag.ReadWrite
Delegated (personal Microsoft account) Not supported.
Application TeamworkTag.ReadWrite.All

HTTP request

POST /teams/{team-Id}/tags

Request headers

Name Description
Authorization Bearer {token}. Required.
Content-Type application/json. Required.

Request body

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

The following table shows the properties that are required when you create the teamworkTag.

Property Type Description
displayName String Name of the tag. The value can't be more than 40 characters.
members teamworkTagMember collection Members of the team to add to the tag. Set the user identifier property of each member. Members count shouldn't be more than 25.


If successful, this method returns a 201 Created response code and a teamworkTag object in the response body.



Content-Type: application/json

  "displayName": "Finance",


HTTP/1.1 201 Created
Content-Type: application/json

  "@odata.type": "#microsoft.graph.teamworkTag",
  "teamId": "53c53217-fe77-4383-bc5a-ed4937a1aecd",
  "displayName": "Financee",
  "memberCount": 2,
  "tagType": "standard"