Skip to main content
POST
Move an Outlook message to archive, deleted items, or inbox

Authorizations

Authorization
string
header
required

Session token passed as Authorization: Bearer <session-token> for user-authenticated Den routes.

Path Parameters

messageId
string
required

Microsoft Graph message id.

Required string length: 1 - 512

Body

application/json
destination
enum<string>
required

Named folder in the caller's mailbox. deleteditems moves to trash, never permanently deletes.

Available options:
archive,
deleteditems,
inbox
confirmTrash
boolean

Required when destination is deleteditems. Set true only when the user explicitly requested moving this message to trash.

Response

Microsoft Graph mutation receipt returned.

ok
boolean
required
message
object
required