delete-mail-rule
Permanently deletes a specified email rule by its ID and folder ID.
Instructions
Delete the specified messageRule object.
💡 TIP: Deletes a message rule permanently. Use the Inbox folder ID (get it from list-mail-folders) for inbox rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| If-Match | No | ETag | |
| mailFolderId | Yes | Path parameter: mailFolderId | |
| messageRuleId | Yes | Path parameter: messageRuleId | |
| includeHeaders | No | Include response headers (including ETag) in the response metadata | |
| excludeResponse | No | Exclude the full response body and only return success or failure indication |