me.mailFolder

Retrieve the properties and relationships of a mail folder object. You can specify a mail folder by its folder ID, or by its well-known folder name, if one exists.

get/me/mailFolders/{mailFolderId}

Request

Query parameters

$selectstring[]

Select properties to be returned

$expandstring[]

Expand related entities

Response

Retrieved mail folder

@odata.typestring
idstring

The unique identifier for an entity. Read-only

childFolderCountnumber nullable

The number of immediate child mailFolders in the current mailFolder

parentFolderIdstring nullable

The unique identifier for the mailFolder's parent mailFolder

displayNamestring nullable

The mailFolder's display name

childFoldersMicrosoftGraphMailFolder[] circular
unreadItemCountnumber nullable

The number of items in the mailFolder marked as unread

isHiddenboolean nullable

Indicates whether the mailFolder is hidden. This property can be set only when creating the folder

totalItemCountnumber nullable

The number of items in the mailFolder

Changes

    • info

      added the optional property /////// to the response with the status

    • info

      api operation id me.GetMailFolders removed and replaced with getMailFolder