messageRuleActions resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents the set of actions that are available to a rule.

Properties

Property Type Description
assignCategories String collection A list of categories to be assigned to a message.
copyToFolder String The ID of a folder that a message is to be copied to.
delete Boolean Indicates whether a message should be moved to the Deleted Items folder.
forwardAsAttachmentTo recipient collection The email addresses of the recipients to which a message should be forwarded as an attachment.
forwardTo recipient collection The email addresses of the recipients to which a message should be forwarded.
markAsRead Boolean Indicates whether a message should be marked as read.
markImportance String Sets the importance of the message, which can be: low, normal, high.
moveToFolder String The ID of the folder that a message will be moved to.
permanentDelete Boolean Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder.
redirectTo recipient The email address to which a message should be redirected.
stopProcessingRules Boolean Indicates whether subsequent rules should be evaluated.

JSON representation

The following JSON representation shows the resource type.

{
  "assignCategories": ["String"],
  "copyToFolder": "String",
  "delete": "Boolean",
  "forwardAsAttachmentTo": [{"@odata.type": "microsoft.graph.recipient"}],
  "forwardTo": [{"@odata.type": "microsoft.graph.recipient"}],
  "markAsRead": "Boolean",
  "markImportance": "String",
  "moveToFolder": "String",
  "permanentDelete": "Boolean",
  "redirectTo": {"@odata.type": "microsoft.graph.recipient"},
  "stopProcessingRules": "Boolean"
}