Microsoft Graph Devices

Microsoft Graph Devices refers to the Microsoft Graph APIs that let you discover and manage devices across Azure Active Directory and Microsoft Intune from a single, unified endpoint. Through the /devices resource you can list and query Azure AD–registered or joined devices and their relationships (such as owners and registered users), and via /deviceManagement/managedDevices you can access rich inventory and state for Intune-managed devices, including platform, compliance, and health details.

OpenAPI Specification

devices-openapi-original.yml Raw ↑
openapi: 3.1.0
info:
  title: Microsoft Graph Devices
  description: Needs a description.
paths:
  /devices:
    description: Provides operations to manage the collection of device entities.
    get:
      tags:
        - Devices.device
      summary: Microsoft Graph List devices
      description: Retrieve a list of device objects registered in the organization.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/device-list?view=graph-rest-1.0
      operationId: devices.device.ListDevice
      parameters:
        - name: ConsistencyLevel
          in: header
          description: >-
            Indicates the requested consistency level. Documentation URL:
            https://docs.microsoft.com/graph/aad-advanced-queries
          schema:
            type: string
          examples:
            example-1:
              description: >-
                $search and $count queries require the client to set the
                ConsistencyLevel HTTP header to 'eventual'.
              value: eventual
        - $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.deviceCollectionResponse'
        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:
        - Devices.device
      summary: Microsoft Graph Create device
      description: Create and register a new device in the organization.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/device-post-devices?view=graph-rest-1.0
      operationId: devices.device.CreateDevice
      requestBody:
        description: New entity
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.device'
        required: true
      responses:
        2XX:
          description: Created entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.device'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /devices/{device-id}:
    description: Provides operations to manage the collection of device entities.
    get:
      tags:
        - Devices.device
      summary: Microsoft Graph Get device
      description: Get the properties and relationships of a device object.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/device-get?view=graph-rest-1.0
      operationId: devices.device.GetDevice
      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 entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.device'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
        - Devices.device
      summary: Microsoft Graph Update device
      description: >-
        Update the properties of a registered device. Only certain properties of
        a device can be updated through approved Mobile Device Managment (MDM)
        apps.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/device-update?view=graph-rest-1.0
      operationId: devices.device.UpdateDevice
      requestBody:
        description: New property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.device'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.device'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
        - Devices.device
      summary: Microsoft Graph Delete device
      description: Delete a registered device.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/device-delete?view=graph-rest-1.0
      operationId: devices.device.DeleteDevice
      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
    parameters:
      - name: device-id
        in: path
        description: The unique identifier of device
        required: true
        schema:
          type: string
        x-ms-docs-key-type: device
  /devices/{device-id}/extensions:
    description: >-
      Provides operations to manage the extensions property of the
      microsoft.graph.device entity.
    get:
      tags:
        - Devices.extension
      summary: Microsoft Graph Get extensions from devices
      description: >-
        The collection of open extensions defined for the device. Read-only.
        Nullable.
      operationId: devices.ListExtensions
      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.extensionCollectionResponse'
        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:
        - Devices.extension
      summary: Microsoft Graph Create new navigation property to extensions for devices
      operationId: devices.CreateExtensions
      requestBody:
        description: New navigation property
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.extension'
        required: true
      responses:
        2XX:
          description: Created navigation property.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.extension'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    parameters:
      - name: device-id
        in: path
        description: The unique identifier of device
        required: true
        schema:
          type: string
        x-ms-docs-key-type: device
  /devices/{device-id}/extensions/{extension-id}:
    description: >-
      Provides operations to manage the extensions property of the
      microsoft.graph.device entity.
    get:
      tags:
        - Devices.extension
      summary: Microsoft Graph Get extensions from devices
      description: >-
        The collection of open extensions defined for the device. Read-only.
        Nullable.
      operationId: devices.GetExtensions
      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.extension'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
        - Devices.extension
      summary: Microsoft Graph Update the navigation property extensions in devices
      operationId: devices.UpdateExtensions
      requestBody:
        description: New navigation property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.extension'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.extension'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
        - Devices.extension
      summary: Microsoft Graph Delete navigation property extensions for devices
      operationId: devices.DeleteExtensions
      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
    parameters:
      - name: device-id
        in: path
        description: The unique identifier of device
        required: true
        schema:
          type: string
        x-ms-docs-key-type: device
      - name: extension-id
        in: path
        description: The unique identifier of extension
        required: true
        schema:
          type: string
        x-ms-docs-key-type: extension
  /devices/{device-id}/extensions/$count:
    description: Provides operations to count the resources in the collection.
    get:
      tags:
        - Devices.extension
      summary: Microsoft Graph Get the number of the resource
      operationId: devices.extensions.GetCount-40b0
      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'
    parameters:
      - name: device-id
        in: path
        description: The unique identifier of device
        required: true
        schema:
          type: string
        x-ms-docs-key-type: device
  /devices/{device-id}/memberOf:
    description: >-
      Provides operations to manage the memberOf property of the
      microsoft.graph.device entity.
    get:
      tags:
        - devices.directoryObject
      summary: Microsoft Graph List device memberships
      description: >-
        Get groups and administrative units that this device is a direct member
        of. This operation is not transitive.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/device-list-memberof?view=graph-rest-1.0
      operationId: devices.ListMemberOf
      parameters:
        - name: ConsistencyLevel
          in: header
          description: >-
            Indicates the requested consistency level. Documentation URL:
            https://docs.microsoft.com/graph/aad-advanced-queries
          schema:
            type: string
          examples:
            example-1:
              description: >-
                $search and $count queries require the client to set the
                ConsistencyLevel HTTP header to 'eventual'.
              value: eventual
        - $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.directoryObjectCollectionResponse
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
    parameters:
      - name: device-id
        in: path
        description: The unique identifier of device
        required: true
        schema:
          type: string
        x-ms-docs-key-type: device
  /devices/{device-id}/memberOf/{directoryObject-id}:
    description: >-
      Provides operations to manage the memberOf property of the
      microsoft.graph.device entity.
    get:
      tags:
        - devices.directoryObject
      summary: Microsoft Graph Get memberOf from devices
      description: >-
        Groups and administrative units that this device is a member of.
        Read-only. Nullable. Supports $expand.
      operationId: devices.GetMemberOf
      parameters:
        - name: ConsistencyLevel
          in: header
          description: >-
            Indicates the requested consistency level. Documentation URL:
            https://docs.microsoft.com/graph/aad-advanced-queries
          schema:
            type: string
          examples:
            example-1:
              description: >-
                $search and $count queries require the client to set the
                ConsistencyLevel HTTP header to 'eventual'.
              value: eventual
        - 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.directoryObject'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    parameters:
      - name: device-id
        in: path
        description: The unique identifier of device
        required: true
        schema:
          type: string
        x-ms-docs-key-type: device
      - name: directoryObject-id
        in: path
        description: The unique identifier of directoryObject
        required: true
        schema:
          type: string
        x-ms-docs-key-type: directoryObject
  /devices/{device-id}/memberOf/{directoryObject-id}/graph.administrativeUnit:
    description: Casts the previous resource to administrativeUnit.
    get:
      tags:
        - devices.directoryObject
      summary: >-
        Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit
      operationId: devices.GetMemberOf.AsAdministrativeUnit
      parameters:
        - name: ConsistencyLevel
          in: header
          description: >-
            Indicates the requested consistency level. Documentation URL:
            https://docs.microsoft.com/graph/aad-advanced-queries
          schema:
            type: string
          examples:
            example-1:
              description: >-
                $search and $count queries require the client to set the
                ConsistencyLevel HTTP header to 'eventual'.
              value: eventual
        - 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: Entity result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.administrativeUnit'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
    parameters:
      - name: device-id
        in: path
        description: The unique identifier of device
        required: true
        schema:
          type: string
        x-ms-docs-key-type: device
      - name: directoryObject-id
        in: path
        description: The unique identifier of directoryObject
        required: true
        schema:
          type: string
        x-ms-docs-key-type: directoryObject
  /devices/{device-id}/memberOf/{directoryObject-id}/graph.group:
    description: Casts the previous resource to group.
    get:
      tags:
        - devices.directoryObject
      summary: Microsoft Graph List device memberships
      description: >-
        Get groups and administrative units that this device is a direct member
        of. This operation is not transitive.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/device-list-memberof?view=graph-rest-1.0
      operationId: devices.GetMemberOf.AsGroup
      parameters:
        - name: ConsistencyLevel
          in: header
          description: >-
            Indicates the requested consistency level. Documentation URL:
            https://docs.microsoft.com/graph/aad-advanced-queries
          schema:
            type: string
          examples:
            example-1:
              description: >-
                $search and $count queries require the client to set the
                ConsistencyLevel HTTP header to 'eventual'.
              value: eventual
        - 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: Entity result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.group'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
    parameters:
      - name: device-id
        in: path
        description: The unique identifier of device
        required: true
        schema:
          type: string
        x-ms-docs-key-type: device
      - name: directoryObject-id
        in: path
        description: The unique identifier of directoryObject
        required: true
        schema:
          type: string
        x-ms-docs-key-type: directoryObject
  /devices/{device-id}/memberOf/$count:
    description: Provides operations to count the resources in the collection.
    get:
      tags:
        - devices.directoryObject
      summary: Microsoft Graph Get the number of the resource
      operationId: devices.memberOf.GetCount-bd14
      parameters:
        - name: ConsistencyLevel
          in: header
          description: >-
            Indicates the requested consistency level. Documentation URL:
            https://docs.microsoft.com/graph/aad-advanced-queries
          schema:
            type: string
          examples:
            example-1:
              description: >-
                $search and $count queries require the client to set the
                ConsistencyLevel HTTP header to 'eventual'.
              value: eventual
        - $ref: '#/components/parameters/search'
        - $ref: '#/components/parameters/filter'
      responses:
        2XX:
          $ref: '#/components/responses/ODataCountResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
    parameters:
      - name: device-id
        in: path
        description: The unique identifier of device
        required: true
        schema:
          type: string
        x-ms-docs-key-type: device
  /devices/{device-id}/memberOf/graph.administrativeUnit:
    description: Casts the previous resource to administrativeUnit.
    get:
      tags:
        - devices.directoryObject
      summary: >-
        Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
      operationId: devices.ListMemberOf.AsAdministrativeUnit
      parameters:
        - name: ConsistencyLevel
          in: header
          description: >-
            Indicates the requested consistency level. Documentation URL:
            https://docs.microsoft.com/graph/aad-advanced-queries
          schema:
            type: string
          examples:
            example-1:
              description: >-
                $search and $count queries require the client to set the
                ConsistencyLevel HTTP header to 'eventual'.
              value: eventual
        - $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.administrativeUnitCollectionResponse
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
    parameters:
      - name: device-id
        in: path
        description: The unique identifier of device
        required: true
        schema:
          type: string
        x-ms-docs-key-type: device
  /devices/{device-id}/memberOf/graph.administrativeUnit/$count:
    description: Provides operations to count the resources in the collection.
    get:
      tags:
        - devices.directoryObject
      summary: Microsoft Graph Get the number of the resource
      operationId: devices.MemberOf.GetCount.AsAdministrativeUnit-dd3f
      parameters:
        - name: ConsistencyLevel
          in: header
          description: >-
            Indicates the requested consistency level. Documentation URL:
            https://docs.microsoft.com/graph/aad-advanced-queries
          schema:
            type: string
          examples:
            example-1:
              description: >-
                $search and $count queries require the client to set the
                ConsistencyLevel HTTP header to 'eventual'.
              value: eventual
        - $ref: '#/components/parameters/search'
        - $ref: '#/components/parameters/filter'
      responses:
        2XX:
          $ref: '#/components/responses/ODataCountResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
    parameters:
      - name: device-id
        in: path
        description: The unique identifier of device
        required: true
        schema:
          type: string
        x-ms-docs-key-type: device
  /devices/{device-id}/memberOf/graph.group:
    description: Casts the previous resource to group.
    get:
      tags:
        - devices.directoryObject
      summary: Microsoft Graph List device memberships
      description: >-
        Get groups and administrative units that this device is a direct member
        of. This operation is not transitive.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/device-list-memberof?view=graph-rest-1.0
      operationId: devices.ListMemberOf.AsGroup
      parameters:
        - name: ConsistencyLevel
          in: header
          description: >-
            Indicates the requested consistency level. Documentation URL:
            https://docs.microsoft.com/graph/aad-advanced-queries
          schema:
            type: string
          examples:
            example-1:
              description: >-
                $search and $count queries require the client to set the
                ConsistencyLevel HTTP header to 'eventual'.
              value: eventual
        - $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.groupCollectionResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
    parameters:
      - name: device-id
        in: path
        description: The unique identifier of device
        required: true
        schema:
          type: string
        x-ms-docs-key-type: device
  /devices/{device-id}/memberOf/graph.group/$count:
    description: Provides operations to count the resources in the collection.
    get:
      tags:
        - devices.directoryObject
      summary: Microsoft Graph Get the number of the resource
      operationId: devices.MemberOf.GetCount.AsGroup-3872
      parameters:
        - name: ConsistencyLevel
          in: header
          description: >-
            Indicates the requested consistency level. Documentation URL:
            https://docs.microsoft.com/graph/aad-advanced-queries
          schema:
            type: string
          examples:
            example-1:
              description: >-
                $search and $count queries require the client to set the
                ConsistencyLevel HTTP header to 'eventual'.
              value: eventual
        - $ref: '#/components/parameters/search'
        - $ref: '#/components/parameters/filter'
      responses:
        2XX:
          $ref: '#/components/responses/ODataCountResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
    parameters:
      - name: device-id
        in: path
        description: The unique identifier of device
        required: true
        schema:
          type: string
        x-ms-docs-key-type: device
  /devices/{device-id}/checkMemberGroups:
    description: Provides operations to call the checkMemberGroups method.
    post:
      tags:
        - devices.device.Actions
      summary: Microsoft Graph Invoke action checkMemberGroups
      description: "Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:\r\n- u

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