| description | Automatically generated file. DO NOT MODIFY |
|---|
const options = {
authProvider,
};
const client = Client.init(options);
const directoryObject = {
'@odata.id':'https://graph.microsoft.com/beta/users/alexd@contoso.com'
};
await client.api('/groups/{id}/rejectedSenders/$ref')
.version('beta')
.post(directoryObject);