group: unsubscribeByMail

Important: APIs under the /beta version in Microsoft Graph are in preview and are subject to change. Use of these APIs in production applications is not supported.

Calling this method will disable the current user to receive email notifications for this group about new posts, events, and files in that group. Supported for only Office 365 groups.


One of the following scopes is required to execute this API: Group.ReadWrite.All Group.ReadWrite.All

HTTP request

POST /groups/{id}/unsubscribeByMail

Request headers

Header Value
Authorization Bearer {token}. Required.

Request body


If successful, this method returns 200, OK response code. It does not return anything in the response body.


Here is an example of how to call this API.


Here is an example of the request.


Here is an example of the response.

HTTP/1.1 200 OK