move-mail-message
Move an email message to a target folder within a user's mailbox. The message is copied to the destination and removed from its original location.
Instructions
Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message.
💡 TIP: destinationId accepts folder ID or well-known name (inbox, drafts, sentitems, deleteditems, junkemail, archive).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| messageId | Yes | Path parameter: messageId | |
| 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 |