Moves a conversation from one folder of the mailbox to another, in the connected mailbox and in Sodium. Only the conversation's messages in the source folder move, so replies filed in Sent stay where they are. Open to the mailbox's owner and, on a mailbox shared with everyone, to colleagues; a mailbox sharing selected emails refuses them. A move into Trash is refused (400) when the mailbox's DeleteEnabled is off, and into Junk when its JunkEnabled is off. Success is false when the provider refused some or all of the move; MovedCount says how many messages went through. If the response includes ReconnectRequired=true, the OAuth connection needs to be re-authorised.
Requires: Update on Mailbox.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
| code* | path string | |
| conversationId* | path string | |
Request Body*
{
"sourceFolderId": "00000000-0000-0000-0000-000000000000",
"destinationFolderId": "00000000-0000-0000-0000-000000000000"
}
Responses
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found