Microsoft Graph · Schema
messageRuleActions
Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
Properties
| Name | Type | Description |
|---|---|---|
| assignCategories | array | 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 | array | The email addresses of the recipients to which a message should be forwarded as an attachment. |
| forwardTo | array | 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 | object | 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 | array | The email addresses to which a message should be redirected. |
| stopProcessingRules | boolean | Indicates whether subsequent rules should be evaluated. |
| @odata.type | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/microsoft.graph.messageRuleActions",
"title": "messageRuleActions",
"required": [
"@odata.type"
],
"type": "object",
"properties": {
"assignCategories": {
"type": "array",
"items": {
"type": "string",
"nullable": true
},
"description": "A list of categories to be assigned to a message."
},
"copyToFolder": {
"type": "string",
"description": "The ID of a folder that a message is to be copied to.",
"nullable": true
},
"delete": {
"type": "boolean",
"description": "Indicates whether a message should be moved to the Deleted Items folder.",
"nullable": true
},
"forwardAsAttachmentTo": {
"type": "array",
"items": {
"$ref": "#/components/schemas/microsoft.graph.recipient"
},
"description": "The email addresses of the recipients to which a message should be forwarded as an attachment."
},
"forwardTo": {
"type": "array",
"items": {
"$ref": "#/components/schemas/microsoft.graph.recipient"
},
"description": "The email addresses of the recipients to which a message should be forwarded."
},
"markAsRead": {
"type": "boolean",
"description": "Indicates whether a message should be marked as read.",
"nullable": true
},
"markImportance": {
"anyOf": [
{
"$ref": "#/components/schemas/microsoft.graph.importance"
},
{
"type": "object",
"nullable": true
}
],
"description": "Sets the importance of the message, which can be: low, normal, high."
},
"moveToFolder": {
"type": "string",
"description": "The ID of the folder that a message will be moved to.",
"nullable": true
},
"permanentDelete": {
"type": "boolean",
"description": "Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder.",
"nullable": true
},
"redirectTo": {
"type": "array",
"items": {
"$ref": "#/components/schemas/microsoft.graph.recipient"
},
"description": "The email addresses to which a message should be redirected."
},
"stopProcessingRules": {
"type": "boolean",
"description": "Indicates whether subsequent rules should be evaluated.",
"nullable": true
},
"@odata.type": {
"type": "string"
}
}
}