users.message

Copy message from user

Copy a message to a folder within a specific user's mailbox.

post/users/{userIdentifier}/messages/{messageId}/copy

Request body

DestinationIdstring

The destination folder ID or well-known folder name

Response

If successful, returns the copied message in the destination folder of the specified user's mailbox. Unless, the destination folder may not exist or the message may not be found.

OR
CompletedResponse nullable required

Changes

Changed in 4 of the 10 revisions of this API.14

    • added the optional property anyOf[MicrosoftGraphMessage]/allOf[subschema #2: message]/attachments/items/allOf[subschema #2: attachment]/contentBytes to the response with the 2XX status

      response-optional-property-added

    • removed MicrosoftGraphOutlookItem subschema #2: message from the response body allOf list for the response status 2XX

      response-body-all-of-removed

    • added MicrosoftGraphMessage CompletedResponse to the response body anyOf list for the response status 2XX

      response-body-any-of-added

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation