Skip to main content
PATCH
Update an unsent Outlook email draft

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 of an unsent Outlook draft.

Required string length: 1 - 512

Body

application/json
to
string<email>[]
Required array length: 1 - 50 elements
Pattern: ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
cc
string<email>[]
Maximum array length: 50
Pattern: ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
bcc
string<email>[]
Maximum array length: 50
Pattern: ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
subject
string
Required string length: 1 - 998
body
string
Maximum string length: 200000
bodyContentType
enum<string>

How Outlook stores body: text (default) or html. Only allowed together with body.

Available options:
text,
html

Response

Outlook draft updated.

ok
boolean
required
draft
object
required