me.mailFolder
Delete mailFolder
Changed onDelete the specified mailFolder. The folder can be a mailSearchFolder. You can specify a mail folder by its folder ID, or by its well-known folder name, if one exists.
delete/me/mailFolders/{mailFolderId}
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 mail folder is deleted and no content is returned. Unless, the folder may not exist or the caller may lack the required permission.
Changes
- info
api operation id
me.DeleteMailFoldersremoved and replaced withdeleteMailFolder
- info
- info
api operation id
deleteMailFolderremoved and replaced withme.DeleteMailFolders
- info