users.message
Delete message from user
Changed onDelete a message in a specific user's mailbox.
delete/users/{userIdentifier}/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 from the specified user's mailbox and no content is returned. Unless, the message may not exist or access may be denied.
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking