Delete tab from chat

Namespace: microsoft.graph

Remove (unpin) a tab from the specified chat.

Note: If the chat is associated with an onlineMeeting instance, then, effectively, the tab will get removed from the meeting.

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 least to most privileged)
Delegated (work or school account) TeamsTab.ReadWriteSelfForChat, TeamsTab.ReadWriteForChat, TeamsTab.ReadWrite.All
Delegated (personal Microsoft account) Not supported.
Application TeamsTab.ReadWriteSelfForChat.All, TeamsTab.ReadWriteForChat, TeamsTab.ReadWrite.All

HTTP request

DELETE /chats/{chat-id}/tabs/{tab-id}

Request headers

Header Value
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. It does not return anything in the response body.

Example

Request

The following is an example of the request.

DELETE https://graph.microsoft.com/v1.0/chats/19:ea28e88c00e94c7786b065394a61f296@thread.v2/tabs/d731fca0-0f14-4537-971a-0ef9101ff13d

Response

The following is an example of the response.

HTTP/1.1 204 No Content

See also