Microsoft Graph · Schema

messageRuleActions

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Task

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
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphmessageruleactions-schema.json Raw ↑
{
  "$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"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-graph-microsoftgraphmessageruleactions"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.