me.mailFolder
Create mailFolder
Changed onUse this API to create a new mail folder in the root folder of the user's mailbox. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. To create a mail search folder, set the '@odata.type' property to '#microsoft.graph.mailSearchFolder' and include the filterQuery and sourceFolderIds properties.
post/me/mailFolders
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.
Request body
Response
Created mail folder
Changes
- info
added the new optional request property
/////// - info
added the optional property
///////to the response with the status
- info
- info
api operation id
me.CreateMailFoldersremoved and replaced withcreateMailFolder
- info