group: removeFavorite

Remove the group from the list of the current user's favorite groups. Supported for only Office 365 groups.

Prerequisites

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

HTTP request

POST /groups/{id}/removeFavorite

Request headers

Header Value
Authorization Bearer . Required.

Request body

Do not supply a request body for this method.

Response

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

Example

Here is an example of how to call this API.

Request

Here is an example of the request.

POST https://graph.microsoft.com/beta/groups/{id}/removeFavorite
Response

Here is an example of the response.

HTTP/1.1 200 OK