Microsoft Graph Teamwork

Microsoft Graph Teamwork is the set of Microsoft Graph APIs that surface Microsoft Teams collaboration capabilities. It lets you programmatically create and manage teams and channels; add members and owners; read, post, and moderate chat and channel messages; install, configure, and manage Teams apps and tabs; work with frontline workforce features like schedules, shifts, and time off; use teamwork tags to target groups; send activity notifications; and discover a user’s associated teams.

OpenAPI Specification

teamwork-openapi-original.yml Raw ↑
openapi: 3.1.0
info:
  title: Microsoft Graph Teamwork
  description: Needs a description.
paths:
  /me/teamwork:
    description: >-
      Provides operations to manage the teamwork property of the
      microsoft.graph.user entity.
    get:
      tags:
        - me.userTeamwork
      summary: Microsoft Graph Get teamwork from me
      description: >-
        A container for Microsoft Teams features available for the user.
        Read-only. Nullable.
      operationId: me.GetTeamwork
      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.userTeamwork'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
        - me.userTeamwork
      summary: Microsoft Graph Update the navigation property teamwork in me
      operationId: me.UpdateTeamwork
      requestBody:
        description: New navigation property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.userTeamwork'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.userTeamwork'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
        - me.userTeamwork
      summary: Microsoft Graph Delete navigation property teamwork for me
      operationId: me.DeleteTeamwork
      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/teamwork/associatedTeams:
    description: >-
      Provides operations to manage the associatedTeams property of the
      microsoft.graph.userTeamwork entity.
    get:
      tags:
        - me.userTeamwork
      summary: Microsoft Graph List associatedTeamInfo
      description: "Get the list of teams in Microsoft Teams that a user is associated with.\r\nCurrently, a user can be associated with a team in two different ways:"
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/associatedteaminfo-list?view=graph-rest-1.0
      operationId: me.teamwork.ListAssociatedTeams
      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.associatedTeamInfoCollectionResponse
        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.userTeamwork
      summary: Microsoft Graph Create new navigation property to associatedTeams for me
      operationId: me.teamwork.CreateAssociatedTeams
      requestBody:
        description: New navigation property
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.associatedTeamInfo'
        required: true
      responses:
        2XX:
          description: Created navigation property.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.associatedTeamInfo'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /me/teamwork/associatedTeams/{associatedTeamInfo-id}:
    description: >-
      Provides operations to manage the associatedTeams property of the
      microsoft.graph.userTeamwork entity.
    get:
      tags:
        - me.userTeamwork
      summary: Microsoft Graph Get associatedTeams from me
      description: The list of associatedTeamInfo objects that a user is associated with.
      operationId: me.teamwork.GetAssociatedTeams
      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.associatedTeamInfo'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
        - me.userTeamwork
      summary: Microsoft Graph Update the navigation property associatedTeams in me
      operationId: me.teamwork.UpdateAssociatedTeams
      requestBody:
        description: New navigation property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.associatedTeamInfo'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.associatedTeamInfo'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
        - me.userTeamwork
      summary: Microsoft Graph Delete navigation property associatedTeams for me
      operationId: me.teamwork.DeleteAssociatedTeams
      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: associatedTeamInfo-id
        in: path
        description: The unique identifier of associatedTeamInfo
        required: true
        schema:
          type: string
        x-ms-docs-key-type: associatedTeamInfo
  /me/teamwork/associatedTeams/{associatedTeamInfo-id}/team:
    description: >-
      Provides operations to manage the team property of the
      microsoft.graph.teamInfo entity.
    get:
      tags:
        - me.userTeamwork
      summary: Microsoft Graph Get team from me
      operationId: me.teamwork.associatedTeams.GetTeam
      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.team'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    parameters:
      - name: associatedTeamInfo-id
        in: path
        description: The unique identifier of associatedTeamInfo
        required: true
        schema:
          type: string
        x-ms-docs-key-type: associatedTeamInfo
    x-ms-docs-grouped-path:
      - >-
        /me/joinedTeams/{team-id}/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}/team
      - >-
        /me/joinedTeams/{team-id}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo-id}/team
  /me/teamwork/associatedTeams/$count:
    description: Provides operations to count the resources in the collection.
    get:
      tags:
        - me.userTeamwork
      summary: Microsoft Graph Get the number of the resource
      operationId: me.teamwork.associatedTeams.GetCount-9609
      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/teamwork/installedApps:
    description: >-
      Provides operations to manage the installedApps property of the
      microsoft.graph.userTeamwork entity.
    get:
      tags:
        - me.userTeamwork
      summary: Microsoft Graph Get installedApps from me
      description: The apps installed in the personal scope of this user.
      operationId: me.teamwork.ListInstalledApps
      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.userScopeTeamsAppInstallationCollectionResponse
        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.userTeamwork
      summary: Microsoft Graph Create new navigation property to installedApps for me
      operationId: me.teamwork.CreateInstalledApps
      requestBody:
        description: New navigation property
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/microsoft.graph.userScopeTeamsAppInstallation
        required: true
      responses:
        2XX:
          description: Created navigation property.
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/microsoft.graph.userScopeTeamsAppInstallation
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /me/teamwork/installedApps/{userScopeTeamsAppInstallation-id}:
    description: >-
      Provides operations to manage the installedApps property of the
      microsoft.graph.userTeamwork entity.
    get:
      tags:
        - me.userTeamwork
      summary: Microsoft Graph Get installedApps from me
      description: The apps installed in the personal scope of this user.
      operationId: me.teamwork.GetInstalledApps
      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.userScopeTeamsAppInstallation
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
        - me.userTeamwork
      summary: Microsoft Graph Update the navigation property installedApps in me
      operationId: me.teamwork.UpdateInstalledApps
      requestBody:
        description: New navigation property values
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/microsoft.graph.userScopeTeamsAppInstallation
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/microsoft.graph.userScopeTeamsAppInstallation
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
        - me.userTeamwork
      summary: Microsoft Graph Delete navigation property installedApps for me
      operationId: me.teamwork.DeleteInstalledApps
      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: userScopeTeamsAppInstallation-id
        in: path
        description: The unique identifier of userScopeTeamsAppInstallation
        required: true
        schema:
          type: string
        x-ms-docs-key-type: userScopeTeamsAppInstallation
  /me/teamwork/installedApps/{userScopeTeamsAppInstallation-id}/chat:
    description: >-
      Provides operations to manage the chat property of the
      microsoft.graph.userScopeTeamsAppInstallation entity.
    get:
      tags:
        - me.userTeamwork
      summary: Microsoft Graph Get chat from me
      description: The chat between the user and Teams app.
      operationId: me.teamwork.installedApps.GetChat
      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.chat'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    parameters:
      - name: userScopeTeamsAppInstallation-id
        in: path
        description: The unique identifier of userScopeTeamsAppInstallation
        required: true
        schema:
          type: string
        x-ms-docs-key-type: userScopeTeamsAppInstallation
  /me/teamwork/installedApps/{userScopeTeamsAppInstallation-id}/teamsApp:
    description: >-
      Provides operations to manage the teamsApp property of the
      microsoft.graph.teamsAppInstallation entity.
    get:
      tags:
        - me.userTeamwork
      summary: Microsoft Graph Get teamsApp from me
      description: The app that is installed.
      operationId: me.teamwork.installedApps.GetTeamsApp
      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.teamsApp'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    parameters:
      - name: userScopeTeamsAppInstallation-id
        in: path
        description: The unique identifier of userScopeTeamsAppInstallation
        required: true
        schema:
          type: string
        x-ms-docs-key-type: userScopeTeamsAppInstallation
    x-ms-docs-grouped-path:
      - /me/chats/{chat-id}/installedApps/{teamsAppInstallation-id}/teamsApp
      - >-
        /me/joinedTeams/{team-id}/installedApps/{teamsAppInstallation-id}/teamsApp
  /me/teamwork/installedApps/{userScopeTeamsAppInstallation-id}/teamsAppDefinition:
    description: >-
      Provides operations to manage the teamsAppDefinition property of the
      microsoft.graph.teamsAppInstallation entity.
    get:
      tags:
        - me.userTeamwork
      summary: Microsoft Graph Get teamsAppDefinition from me
      description: The details of this version of the app.
      operationId: me.teamwork.installedApps.GetTeamsAppDefinition
      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.teamsAppDefinition'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    parameters:
      - name: userScopeTeamsAppInstallation-id
        in: path
        description: The unique identifier of userScopeTeamsAppInstallation
        required: true
        schema:
          type: string
        x-ms-docs-key-type: userScopeTeamsAppInstallation
    x-ms-docs-grouped-path:
      - >-
        /me/chats/{chat-id}/installedApps/{teamsAppInstallation-id}/teamsAppDefinition
      - >-
        /me/joinedTeams/{team-id}/installedApps/{teamsAppInstallation-id}/teamsAppDefinition
  /me/teamwork/installedApps/$count:
    description: Provides operations to count the resources in the collection.
    get:
      tags:
        - me.userTeamwork
      summary: Microsoft Graph Get the number of the resource
      operationId: me.teamwork.installedApps.GetCount-2917
      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/teamwork/sendActivityNotification:
    description: Provides operations to call the sendActivityNotification method.
    post:
      tags:
        - me.userTeamwork
      summary: Microsoft Graph Invoke action sendActivityNotification
      description: >-
        Send an activity feed notification to a user. For more information, see
        sending Teams activity notifications.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/userteamwork-sendactivitynotification?view=graph-rest-1.0
      operationId: me.teamwork.sendActivityNotification
      requestBody:
        description: Action parameters
        content:
          application/json:
            schema:
              type: object
              properties:
                topic:
                  anyOf:
                    - $ref: >-
                        #/components/schemas/microsoft.graph.teamworkActivityTopic
                    - type: object
                      nullable: true
                activityType:
                  type: string
                  nullable: true
                chainId:
                  type: number
                  format: int64
                  nullable: true
                previewText:
                  anyOf:
                    - $ref: '#/components/schemas/microsoft.graph.itemBody'
                    - type: object
                      nullable: true
                teamsAppId:
                  type: string
                  nullable: true
                templateParameters:
                  type: array
                  items:
                    $ref: '#/components/schemas/microsoft.graph.keyValuePair'
                iconId:
                  type: string
                  nullable: true
        required: true
      responses:
        '204':
          description: Success
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: action
    x-ms-docs-grouped-path:
      - /me/chats/{chat-id}/sendActivityNotification
      - /me/joinedTeams/{team-id}/sendActivityNotification
  /teamwork:
    description: Provides operations to manage the teamwork singleton.
    get:
      tags:
        - Teamwork.teamwork
      summary: Microsoft Graph Get teamwork
      description: >-
        Get the properties and relationships of a teamwork object, such as the
        region of the organization and whether Microsoft Teams is enabled.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/teamwork-get?view=graph-rest-1.0
      operationId: teamwork.teamwork.GetTeamwork
      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.teamwork'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
        - Teamwork.teamwork
      summary: Microsoft Graph Update teamwork
      operationId: teamwork.teamwork.UpdateTeamwork
      requestBody:
        description: New property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.teamwork'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.teamwork'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /teamwork/deletedChats:
    description: >-
      Provides operations to manage the deletedChats property of the
      microsoft.graph.teamwork entity.
    get:
      tags:
        - teamwork.deletedChat
      summary: Microsoft Graph Get deletedChat
      description: Read the properties and relationships of a deletedChat object.
      operationId: teamwork.ListDeletedChats
      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.deletedChatCollectionResponse'
        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:
        - teamwork.deletedChat
      summary: Microsoft Graph Create new navigation property to deletedChats for teamwork
      operationId: teamwork.CreateDeletedChats
      requestBody:
        description: New navigation property
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.deletedChat'
        required: true
      responses:
        2XX:
          description: Created navigation property.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.deletedChat'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /teamwork/deletedChats/{deletedChat-id}:
    description: >-
      Provides operations to manage the deletedChats property of the
      microsoft.graph.teamwork entity.
    get:
      tags:
        - teamwork.deletedChat
      summary: Microsoft Graph Get deletedChat
      description: Read the properties and relationships of a deletedChat object.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/deletedchat-get?view=graph-rest-1.0
      operationId: teamwork.GetDeletedChats
      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.deletedChat'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
        - teamwork.deletedChat
      summary: Microsoft Graph Update the navigation property deletedChats in teamwork
      operationId: teamwork.UpdateDeletedChats
      requestBody:
        description: New navigation property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.deletedChat'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.deletedChat'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
        - teamwork.deletedChat
      summary: Microsoft Graph Delete navigation property deletedChats for teamwork
      operationId: teamwork.DeleteDeletedChats
      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: deletedChat-id
        in: path
        description: The unique identifier of deletedChat
        required: true
        schema:
          type: string
        x-ms-docs-key-type: deletedChat
  /teamwork/deletedChats/{deletedChat-id}/undoDelete:
    description: Provides operations to call the undoDelete method.

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