Delete teamworkTag

Namespace: microsoft.graph

Delete a tag object permanently.

Note: You can't recover a tag that was deleted using this API.

Permissions

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

DELETE /teams/{team-id}/tags/{teamworkTag-id}

Request headers

Name Description
Authorization Bearer {token}. Required.

Request body

Do not supply a request body for this method.

Response

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

Examples

Request

The following is an example of a request.

DELETE https://graph.microsoft.com/v1.0/teams/53c53217-fe77-4383-bc5a-ed4937a1aecd/tags/MjQzMmI1N2ItMGFiZC00M2RiLWFhN2ItMTZlYWRkMTE1ZDM0IyM3ZDg4M2Q4Yi1hMTc5LTRkZDctOTNiMy1hOGQzZGUxYTIxMmUjI3RhY29VSjN2RGk==

Response

The following is an example of the response.

HTTP/1.1 204 No Content