Create rejectedSender

Namespace: microsoft.graph Add a new user or group to the rejectedSender list.

Specify the user or group in in the request body. Users in the rejected senders list cannot post to conversations of the group (identified in the POST request URL). Make sure you do not specify the same user or group in the rejected senders and accepted senders lists, otherwise you will get an error.


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) Group.ReadWrite.All
Delegated (personal Microsoft account) Not supported.
Application Not supported.

HTTP request

POST /groups/{id}/rejectedSenders/$ref

Request headers

Header Value
Authorization Bearer {token}. Required.

Request body

In the request body, supply the id of a user or group object.


This method returns 204 No Content response code and no response body.



The following is an example of the request.

Content-type: application/json



The following is an example of the response.

HTTP/1.1 204 No Content