me.message
Delete message
Changed onDelete a message in the specified user's mailbox, or delete a relationship of the message.
delete/me/messages/{messageId}
Request
- Base URLhttps://graph.microsoft.com/v1.0
- AuthOAuth 2Authorization codehttps://login.microsoftonline.com/common/oauth2/v2.0/authorizeClient credentialsToken URLhttps://login.microsoftonline.com/common/oauth2/v2.0/tokenScopesMail.Read, Mail.ReadWrite, Mail.Send
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
If-Matchstring
ETag
Response
If successful, the message is deleted and no content is returned. Unless, the message may not exist or the caller may lack the required permission.
Changes
- info
api operation id
me.DeleteMessagesremoved and replaced withdeleteMessage
- info
- info
api operation id
deleteMessageremoved and replaced withme.DeleteMessages
- info