Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 422 Bytes

File metadata and controls

23 lines (17 loc) · 422 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const urlThreatSubmission = {
  '@odata.type': '#microsoft.graph.urlThreatSubmission',
  category: 'phishing',
  webUrl: 'http://phishing.contoso.com'
};

await client.api('/security/threatSubmission/urlThreats')
	.version('beta')
	.post(urlThreatSubmission);