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

Authorizations

x-api-key
string
header
required

Organization API key passed as the x-api-key header. The raw key is the header value; do not prefix it with Bearer.

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