Microsoft Graph me.mailFolder API

The me.mailFolder API from Microsoft Graph — 64 operation(s) for me.mailfolder.

Documentation

📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/admin?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/agreementacceptance?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/agreement?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/teamsapp?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/application?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/applicationtemplate?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/azure-ad-auditlog-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/authenticationmethodconfiguration?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/authenticationmethodspolicy?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/certificatebasedauthconfiguration?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/chat?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/communications-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/complianceapioverview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/externalconnectors-externalconnection?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/contact?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/contract?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/copilot-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/datapolicyoperation?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/intune-apps-conceptual?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/intune-device-conceptual?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/device?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/directory?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/domaindnsrecord?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/domain?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/drive?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/education-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/employee-experience-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/externalconnectors-external?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/filter-query-parameter
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/excel?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/grouplifecyclepolicy?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/groups-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/groupsetting?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/groupsettingtemplate?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/identitycontainer?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/informationprotection?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/invitation?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/users?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/oauth2permissiongrant?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/organization?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/resourcespecificpermissiongrant?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/place?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/planner-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/policy-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/print?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/privacy?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/report?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/rolemanagement?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/schemaextension?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/scopedrolemembership?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/search-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/security-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/serviceprincipal?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/shares?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/sharepoint?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/solutions-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/filestorage?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/subscribedsku?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/subscription?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/teamwork?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/tenantrelationship?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/auth/auth-concepts
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/workplace?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/sitepage?view=graph-rest-1.0

Specifications

Other Resources

OpenAPI Specification

microsoft-graph-me-mailfolder-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Microsoft Graph Admin Admin.admin me.mailFolder API
  description: 'Microsoft Graph API for managing administrative resources in Microsoft Entra ID.

    This API enables administrators to manage Microsoft Edge browser settings, Internet Explorer mode configurations,

    site lists, shared browser sites, Microsoft 365 Apps installation options, people insights, service announcements,

    SharePoint settings, Copilot administration, directory administrative units, and admin consent policies.'
  version: 1.0.0
  contact:
    name: Microsoft Graph API Support
    url: https://developer.microsoft.com/graph
servers:
- url: https://graph.microsoft.com/v1.0
  description: Microsoft Graph API v1.0 endpoint
tags:
- name: me.mailFolder
paths:
  /me/mailFolders:
    description: Provides operations to manage the mailFolders property of the microsoft.graph.user entity.
    get:
      tags:
      - me.mailFolder
      summary: Microsoft Graph List mailFolders
      description: Get the mail folder collection directly under the root folder of the signed-in user. The returned collection includes any mail search folders directly under the root. By default, this operation does not return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. This operation does not return all mail folders in a mailbox, only the child folders of the root folder. To return all mail folders in a mailbox, each child folder must be traversed separately.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/user-list-mailfolders?view=graph-rest-1.0
      operationId: me.ListMailFolders
      parameters:
      - name: includeHiddenFolders
        in: query
        description: Include Hidden Folders
        schema:
          type: string
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/count'
      - name: $orderby
        in: query
        description: Order items by property values
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          $ref: '#/components/responses/microsoft.graph.mailFolderCollectionResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
    post:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Create MailFolder
      description: Use 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.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/user-post-mailfolders?view=graph-rest-1.0
      operationId: me.CreateMailFolders
      requestBody:
        description: New navigation property
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.mailFolder'
        required: true
      responses:
        2XX:
          description: Created navigation property.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.mailFolder'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /me/mailFolders/{mailFolder-id}:
    description: Provides operations to manage the mailFolders property of the microsoft.graph.user entity.
    parameters:
    - name: mailFolder-id
      in: path
      description: The unique identifier of mailFolder
      required: true
      schema:
        type: string
      x-ms-docs-key-type: mailFolder
    get:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Get mailFolder
      description: 'Retrieve the properties and relationships of a message folder object. The following list shows the two existing scenarios where an app can get another user''s mail folder:'
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/mailfolder-get?view=graph-rest-1.0
      operationId: me.GetMailFolders
      parameters:
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          description: Retrieved navigation property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.mailFolder'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Update mailfolder
      description: Update the properties of mailfolder object.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/mailfolder-update?view=graph-rest-1.0
      operationId: me.UpdateMailFolders
      requestBody:
        description: New navigation property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.mailFolder'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.mailFolder'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Delete mailFolder
      description: Delete 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.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/mailfolder-delete?view=graph-rest-1.0
      operationId: me.DeleteMailFolders
      parameters:
      - name: If-Match
        in: header
        description: ETag
        schema:
          type: string
      responses:
        '204':
          description: Success
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /me/mailFolders/{mailFolder-id}/childFolders:
    description: Provides operations to manage the childFolders property of the microsoft.graph.mailFolder entity.
    parameters:
    - name: mailFolder-id
      in: path
      description: The unique identifier of mailFolder
      required: true
      schema:
        type: string
      x-ms-docs-key-type: mailFolder
    get:
      tags:
      - me.mailFolder
      summary: Microsoft Graph List childFolders
      description: "Get the folder collection under the specified folder. You can use the .../me/mailFolders shortcut to get the top-level\r\nfolder collection and navigate to another folder. By default, this operation does not return hidden folders. Use a query parameter includeHiddenFolders to include them in the response."
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/mailfolder-list-childfolders?view=graph-rest-1.0
      operationId: me.mailFolders.ListChildFolders
      parameters:
      - name: includeHiddenFolders
        in: query
        description: Include Hidden Folders
        schema:
          type: string
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/count'
      - name: $orderby
        in: query
        description: Order items by property values
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          $ref: '#/components/responses/microsoft.graph.mailFolderCollectionResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
    post:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Create child folder
      description: Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/mailfolder-post-childfolders?view=graph-rest-1.0
      operationId: me.mailFolders.CreateChildFolders
      requestBody:
        description: New navigation property
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.mailFolder'
        required: true
      responses:
        2XX:
          description: Created navigation property.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.mailFolder'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /me/mailFolders/{mailFolder-id}/childFolders/{mailFolder-id1}:
    description: Provides operations to manage the childFolders property of the microsoft.graph.mailFolder entity.
    parameters:
    - name: mailFolder-id
      in: path
      description: The unique identifier of mailFolder
      required: true
      schema:
        type: string
      x-ms-docs-key-type: mailFolder
    - name: mailFolder-id1
      in: path
      description: The unique identifier of mailFolder
      required: true
      schema:
        type: string
      x-ms-docs-key-type: mailFolder
    get:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Get childFolders from me
      description: The collection of child folders in the mailFolder.
      operationId: me.mailFolders.GetChildFolders
      parameters:
      - name: includeHiddenFolders
        in: query
        description: Include Hidden Folders
        schema:
          type: string
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          description: Retrieved navigation property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.mailFolder'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Update the navigation property childFolders in me
      operationId: me.mailFolders.UpdateChildFolders
      requestBody:
        description: New navigation property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.mailFolder'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.mailFolder'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Delete navigation property childFolders for me
      operationId: me.mailFolders.DeleteChildFolders
      parameters:
      - name: If-Match
        in: header
        description: ETag
        schema:
          type: string
      responses:
        '204':
          description: Success
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /me/mailFolders/{mailFolder-id}/childFolders/{mailFolder-id1}/messageRules:
    description: Provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity.
    parameters:
    - name: mailFolder-id
      in: path
      description: The unique identifier of mailFolder
      required: true
      schema:
        type: string
      x-ms-docs-key-type: mailFolder
    - name: mailFolder-id1
      in: path
      description: The unique identifier of mailFolder
      required: true
      schema:
        type: string
      x-ms-docs-key-type: mailFolder
    x-ms-docs-grouped-path:
    - /me/mailFolders/{mailFolder-id}/messageRules
    get:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Get messageRules from me
      description: The collection of rules that apply to the user's Inbox folder.
      operationId: me.mailFolders.childFolders.ListMessageRules
      parameters:
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/count'
      - name: $orderby
        in: query
        description: Order items by property values
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          $ref: '#/components/responses/microsoft.graph.messageRuleCollectionResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
    post:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Create new navigation property to messageRules for me
      operationId: me.mailFolders.childFolders.CreateMessageRules
      requestBody:
        description: New navigation property
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.messageRule'
        required: true
      responses:
        2XX:
          description: Created navigation property.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.messageRule'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /me/mailFolders/{mailFolder-id}/childFolders/{mailFolder-id1}/messageRules/{messageRule-id}:
    description: Provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity.
    parameters:
    - name: mailFolder-id
      in: path
      description: The unique identifier of mailFolder
      required: true
      schema:
        type: string
      x-ms-docs-key-type: mailFolder
    - name: mailFolder-id1
      in: path
      description: The unique identifier of mailFolder
      required: true
      schema:
        type: string
      x-ms-docs-key-type: mailFolder
    - name: messageRule-id
      in: path
      description: The unique identifier of messageRule
      required: true
      schema:
        type: string
      x-ms-docs-key-type: messageRule
    x-ms-docs-grouped-path:
    - /me/mailFolders/{mailFolder-id}/messageRules/{messageRule-id}
    get:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Get messageRules from me
      description: The collection of rules that apply to the user's Inbox folder.
      operationId: me.mailFolders.childFolders.GetMessageRules
      parameters:
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          description: Retrieved navigation property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.messageRule'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Update the navigation property messageRules in me
      operationId: me.mailFolders.childFolders.UpdateMessageRules
      requestBody:
        description: New navigation property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.messageRule'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.messageRule'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Delete navigation property messageRules for me
      operationId: me.mailFolders.childFolders.DeleteMessageRules
      parameters:
      - name: If-Match
        in: header
        description: ETag
        schema:
          type: string
      responses:
        '204':
          description: Success
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /me/mailFolders/{mailFolder-id}/childFolders/{mailFolder-id1}/messageRules/$count:
    description: Provides operations to count the resources in the collection.
    parameters:
    - name: mailFolder-id
      in: path
      description: The unique identifier of mailFolder
      required: true
      schema:
        type: string
      x-ms-docs-key-type: mailFolder
    - name: mailFolder-id1
      in: path
      description: The unique identifier of mailFolder
      required: true
      schema:
        type: string
      x-ms-docs-key-type: mailFolder
    get:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Get the number of the resource
      operationId: me.mailFolders.childFolders.messageRules.GetCount-6a96
      parameters:
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      responses:
        2XX:
          $ref: '#/components/responses/ODataCountResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
  /me/mailFolders/{mailFolder-id}/childFolders/{mailFolder-id1}/messages:
    description: Provides operations to manage the messages property of the microsoft.graph.mailFolder entity.
    parameters:
    - name: mailFolder-id
      in: path
      description: The unique identifier of mailFolder
      required: true
      schema:
        type: string
      x-ms-docs-key-type: mailFolder
    - name: mailFolder-id1
      in: path
      description: The unique identifier of mailFolder
      required: true
      schema:
        type: string
      x-ms-docs-key-type: mailFolder
    x-ms-docs-grouped-path:
    - /me/mailFolders/{mailFolder-id}/messages
    get:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Get messages from me
      description: The collection of messages in the mailFolder.
      operationId: me.mailFolders.childFolders.ListMessages
      parameters:
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/count'
      - name: $orderby
        in: query
        description: Order items by property values
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          $ref: '#/components/responses/microsoft.graph.messageCollectionResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
    post:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Create new navigation property to messages for me
      operationId: me.mailFolders.childFolders.CreateMessages
      requestBody:
        description: New navigation property
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.message'
        required: true
      responses:
        2XX:
          description: Created navigation property.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.message'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /me/mailFolders/{mailFolder-id}/childFolders/{mailFolder-id1}/messages/{message-id}:
    description: Provides operations to manage the messages property of the microsoft.graph.mailFolder entity.
    parameters:
    - name: mailFolder-id
      in: path
      description: The unique identifier of mailFolder
      required: true
      schema:
        type: string
      x-ms-docs-key-type: mailFolder
    - name: mailFolder-id1
      in: path
      description: The unique identifier of mailFolder
      required: true
      schema:
        type: string
      x-ms-docs-key-type: mailFolder
    - name: message-id
      in: path
      description: The unique identifier of message
      required: true
      schema:
        type: string
      x-ms-docs-key-type: message
    x-ms-docs-grouped-path:
    - /me/mailFolders/{mailFolder-id}/messages/{message-id}
    get:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Get messages from me
      description: The collection of messages in the mailFolder.
      operationId: me.mailFolders.childFolders.GetMessages
      parameters:
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          description: Retrieved navigation property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.message'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Update the navigation property messages in me
      operationId: me.mailFolders.childFolders.UpdateMessages
      requestBody:
        description: New navigation property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.message'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.message'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Delete navigation property messages for me
      operationId: me.mailFolders.childFolders.DeleteMessages
      parameters:
      - name: If-Match
        in: header
        description: ETag
        schema:
          type: string
      responses:
        '204':
          description: Success
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /me/mailFolders/{mailFolder-id}/childFolders/{mailFolder-id1}/messages/{message-id}/$value:
    description: Provides operations to manage the media for the user entity.
    parameters:
    - name: mailFolder-id
      in: path
      description: The unique identifier of mailFolder
      required: true
      schema:
        type: string
      x-ms-docs-key-type: mailFolder
    - name: mailFolder-id1
      in: path
      description: The unique identifier of mailFolder
      required: true
      schema:
        type: string
      x-ms-docs-key-type: mailFolder
    - name: message-id
      in: path
      description: The unique identifier of message
      required: true
      schema:
        type: string
      x-ms-docs-key-type: message
    get:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Get media content for the navigation property messages from me
      description: The unique identifier for an entity. Read-only.
      operationId: me.mailFolders.childFolders.GetMessagesContent
      responses:
        2XX:
          description: Retrieved media content
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
    put:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Update media content for the navigation property messages in me
      description: The unique identifier for an entity. Read-only.
      operationId: me.mailFolders.childFolders.UpdateMessagesContent
      requestBody:
        description: New media content.
        content:
          application/octet-stream:
            schema:
              type: string
              format: binary
        required: true
      responses:
        2XX:
          description: Success
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
    delete:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Delete media content for the navigation property messages in me
      description: The unique identifier for an entity. Read-only.
      operationId: me.mailFolders.childFolders.DeleteMessagesContent
      parameters:
      - name: If-Match
        in: header
        description: ETag
        schema:
          type: string
      responses:
        '204':
          description: Success
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
  /me/mailFolders/{mailFolder-id}/childFolders/{mailFolder-id1}/messages/{message-id}/attachments:
    description: Provides operations to manage the attachments property of the microsoft.graph.message entity.
    parameters:
    - name: mailFolder-id
      in: path
      description: The unique identifier of mailFolder
      required: true
      schema:
        type: string
      x-ms-docs-key-type: mailFolder
    - name: mailFolder-id1
      in: path
      description: The unique identifier of mailFolder
      required: true
      schema:
        type: string
      x-ms-docs-key-type: mailFolder
    - name: message-id
      in: path
      description: The unique identifier of message
      required: true
      schema:
        type: string
      x-ms-docs-key-type: message
    x-ms-docs-grouped-path:
    - /me/mailFolders/{mailFolder-id}/messages/{message-id}/attachments
    - /me/messages/{message-id}/attachments
    get:
      tags:
      - me.mailFolder
      summary: Microsoft Graph Get attachments from me
      description: The fileAttachment and itemAttachment attachments for the message.
      operationId: me.mailFolders.childFolders.messages.ListAttachments
      parameters:
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/count'
      - name: $orderby
        in: query
        description: Order items by property values
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related 

# --- truncated at 32 KB (330 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-graph/refs/heads/main/openapi/microsoft-graph-me-mailfolder-api-openapi.yml