Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 570 Bytes

File metadata and controls

24 lines (18 loc) · 570 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const emailThreatSubmission = {
  '@odata.type': '#microsoft.graph.security.emailUrlThreatSubmission',
  category: 'spam',
  recipientEmailAddress: 'tifc@contoso.com',
  messageUrl: 'https://graph.microsoft.com/beta/users/c52ce8db-3e4b-4181-93c4-7d6b6bffaf60/messages/AAMkADU3MWUxOTU0LWNlOTEt='
};

await client.api('/security/threatSubmission/emailThreats')
	.version('beta')
	.post(emailThreatSubmission);