openapi: 3.0.4 info: title: Teams version: v1.0 servers: - url: https://graph.microsoft.com/v1.0/ description: Core paths: /appCatalogs/teamsApps: get: tags: - appCatalogs.teamsApp summary: List teamsApp description: 'List apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization''s app catalog (the tenant app catalog). To get apps from your organization''s app catalog only, specify organization as the distributionMethod in the request.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/appcatalogs-list-teamsapps?view=graph-rest-1.0 operationId: appCatalog_ListTeamsApp 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.teamsAppCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - appCatalogs.teamsApp summary: Publish teamsApp description: "Publish an app to the Microsoft Teams app catalog.\r\nSpecifically, this API publishes the app to your organization's catalog (the tenant app catalog);\r\nthe created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamsapp-publish?view=graph-rest-1.0 operationId: appCatalog_CreateTeamsApp requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsApp' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsApp' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/appCatalogs/teamsApps/{teamsApp-id}': get: tags: - appCatalogs.teamsApp summary: Get teamsApps from appCatalogs operationId: appCatalog_GetTeamsApp parameters: - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - appCatalogs.teamsApp summary: Update the navigation property teamsApps in appCatalogs operationId: appCatalog_UpdateTeamsApp parameters: - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsApp' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsApp' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - appCatalogs.teamsApp summary: Delete teamsApp description: 'Delete an app from an organization''s app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamsapp-delete?view=graph-rest-1.0 operationId: appCatalog_DeleteTeamsApp parameters: - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/appCatalogs/teamsApps/{teamsApp-id}/appDefinitions': get: tags: - appCatalogs.teamsApp summary: Get appDefinitions from appCatalogs description: The details for each version of the app. operationId: appCatalog.teamsApp_ListAppDefinition parameters: - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp - $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.teamsAppDefinitionCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - appCatalogs.teamsApp summary: Update teamsApp description: 'Update an app previously published to the Microsoft Teams app catalog. To update an app, the distributionMethod property for the app must be set to organization. This API specifically updates an app published to your organization''s app catalog (the tenant app catalog).' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamsapp-update?view=graph-rest-1.0 operationId: appCatalog.teamsApp_CreateAppDefinition parameters: - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppDefinition' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppDefinition' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/appCatalogs/teamsApps/{teamsApp-id}/appDefinitions/{teamsAppDefinition-id}': get: tags: - appCatalogs.teamsApp summary: Get appDefinitions from appCatalogs description: The details for each version of the app. operationId: appCatalog.teamsApp_GetAppDefinition parameters: - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp - name: teamsAppDefinition-id in: path description: The unique identifier of teamsAppDefinition required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppDefinition - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - appCatalogs.teamsApp summary: Publish teamsApp description: "Publish an app to the Microsoft Teams app catalog.\r\nSpecifically, this API publishes the app to your organization's catalog (the tenant app catalog);\r\nthe created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamsapp-publish?view=graph-rest-1.0 operationId: appCatalog.teamsApp_UpdateAppDefinition parameters: - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp - name: teamsAppDefinition-id in: path description: The unique identifier of teamsAppDefinition required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppDefinition requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppDefinition' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppDefinition' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - appCatalogs.teamsApp summary: Delete navigation property appDefinitions for appCatalogs operationId: appCatalog.teamsApp_DeleteAppDefinition parameters: - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp - name: teamsAppDefinition-id in: path description: The unique identifier of teamsAppDefinition required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppDefinition - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/appCatalogs/teamsApps/{teamsApp-id}/appDefinitions/{teamsAppDefinition-id}/bot': get: tags: - appCatalogs.teamsApp summary: Get teamworkBot description: Get the bot associated with a specific definition of the TeamsApp. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamworkbot-get?view=graph-rest-1.0 operationId: appCatalog.teamsApp.appDefinition_GetBot parameters: - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp - name: teamsAppDefinition-id in: path description: The unique identifier of teamsAppDefinition required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppDefinition - 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.teamworkBot' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - appCatalogs.teamsApp summary: Update the navigation property bot in appCatalogs operationId: appCatalog.teamsApp.appDefinition_UpdateBot parameters: - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp - name: teamsAppDefinition-id in: path description: The unique identifier of teamsAppDefinition required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppDefinition requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkBot' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkBot' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - appCatalogs.teamsApp summary: Delete navigation property bot for appCatalogs operationId: appCatalog.teamsApp.appDefinition_DeleteBot parameters: - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp - name: teamsAppDefinition-id in: path description: The unique identifier of teamsAppDefinition required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppDefinition - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/appCatalogs/teamsApps/{teamsApp-id}/appDefinitions/$count': get: tags: - appCatalogs.teamsApp summary: Get the number of the resource operationId: appCatalog.teamsApp.appDefinition_GetCount parameters: - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' /appCatalogs/teamsApps/$count: get: tags: - appCatalogs.teamsApp summary: Get the number of the resource operationId: appCatalog.teamsApp_GetCount parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' /chats: get: tags: - chats.chat summary: List chats description: 'Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-list?view=graph-rest-1.0 operationId: chat_ListChat 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.chatCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.chat summary: Create chat description: Create a new chat object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-post?view=graph-rest-1.0 operationId: chat_CreateChat requestBody: description: New entity content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' required: true responses: 2XX: description: Created entity content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}': get: tags: - chats.chat summary: Get chat description: 'Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-get?view=graph-rest-1.0 operationId: chat_GetChat parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - 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.chat' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.chat summary: Update chat description: Update the properties of a chat object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-patch?view=graph-rest-1.0 operationId: chat_UpdateChat parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: New property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.chat summary: Delete chat description: 'Soft-delete a chat. When invoked with delegated permissions, this operation only works for tenant admins and Teams service admins.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-delete?view=graph-rest-1.0 operationId: chat_DeleteChat parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/installedApps': get: tags: - chats.teamsAppInstallation summary: List apps in chat description: List all app installations within a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-list-installedapps?view=graph-rest-1.0 operationId: chat_ListInstalledApp parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $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.teamsAppInstallationCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.teamsAppInstallation summary: Add app to chat description: Install a teamsApp to the specified chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-post-installedapps?view=graph-rest-1.0 operationId: chat_CreateInstalledApp parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/installedApps/{teamsAppInstallation-id}': get: tags: - chats.teamsAppInstallation summary: Get installed app in chat description: Get an app installed in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-get-installedapps?view=graph-rest-1.0 operationId: chat_GetInstalledApp parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - 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.teamsAppInstallation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.teamsAppInstallation summary: Update the navigation property installedApps in chats operationId: chat_UpdateInstalledApp parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.teamsAppInstallation summary: Uninstall app in a chat description: Uninstall an app installed within a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-delete-installedapps?view=graph-rest-1.0 operationId: chat_DeleteInstalledApp parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/installedApps/{teamsAppInstallation-id}/microsoft.graph.upgrade': post: tags: - chats.teamsAppInstallation summary: Invoke action upgrade description: Upgrade an app installation within a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-1.0 operationId: chat.installedApp_upgrade parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation requestBody: description: Action parameters content: application/json: schema: type: object properties: consentedPermissionSet: $ref: '#/components/schemas/microsoft.graph.teamsAppPermissionSet' additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/installedApps/{teamsAppInstallation-id}/teamsApp': get: tags: - chats.teamsAppInstallation summary: Get teamsApp from chats description: The app that is installed. operationId: chat.installedApp_GetTeamsApp parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/installedApps/{teamsAppInstallation-id}/teamsAppDefinition': get: tags: - chats.teamsAppInstallation summary: Get teamsAppDefinition from chats description: The details of this version of the app. operationId: chat.installedApp_GetTeamsAppDefinition parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/installedApps/$count': get: tags: - chats.teamsAppInstallation summary: Get the number of the resource operationId: chat.installedApp_GetCount parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/chats/{chat-id}/lastMessagePreview': get: tags: - chats.chatMessageInfo summary: Get lastMessagePreview from chats description: 'Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property.' operationId: chat_GetLastMessagePreview parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - 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.chatMessageInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.chatMessageInfo summary: Update the navigation property lastMessagePreview in chats operationId: chat_UpdateLastMessagePreview parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageInfo' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.chatMessageInfo summary: Delete navigation property lastMessagePreview for chats operationId: chat_DeleteLastMessagePreview parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/members': get: tags: - chats.conversationMember summary: List conversationMembers description: List all conversation members in a chat or channel. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-list?view=graph-rest-1.0 operationId: chat_ListMember parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.conversationMember summary: Add member to a chat description: Add a conversationMember to a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-post-members?view=graph-rest-1.0 operationId: chat_CreateMember parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/members/{conversationMember-id}': get: tags: - chats.conversationMember summary: Get conversationMember in a chat description: Retrieve a conversationMember from a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0 operationId: chat_GetMember parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.conversationMember summary: Update the navigation property members in chats operationId: chat_UpdateMember parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.conversationMember summary: Remove member from chat description: Remove a conversationMember from a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-delete-members?view=graph-rest-1.0 operationId: chat_DeleteMember parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/members/$count': get: tags: - chats.conversationMember summary: Get the number of the resource operationId: chat.member_GetCount parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/chats/{chat-id}/members/microsoft.graph.add': post: tags: - chats.conversationMember summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: chat.member_add parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/chats/{chat-id}/members/microsoft.graph.remove': post: tags: - chats.conversationMember summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: chat.member_remove parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/chats/{chat-id}/messages': get: tags: - chats.chatMessage summary: List messages in a chat description: 'Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel).' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-list-messages?view=graph-rest-1.0 operationId: chat_ListMessage parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.chatMessage summary: Send message in a chat description: Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 operationId: chat_CreateMessage parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/messages/{chatMessage-id}': get: tags: - chats.chatMessage summary: Get chatMessage in a channel or chat description: Retrieve a single message or a message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 operationId: chat_GetMessage parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.chatMessage summary: Update the navigation property messages in chats operationId: chat_UpdateMessage parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.chatMessage summary: Delete navigation property messages for chats operationId: chat_DeleteMessage parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/messages/{chatMessage-id}/hostedContents': get: tags: - chats.chatMessage summary: List hostedContents description: 'Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 operationId: chat.message_ListHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.chatMessage summary: Create new navigation property to hostedContents for chats operationId: chat.message_CreateHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}': get: tags: - chats.chatMessage summary: Get chatMessageHostedContent description: Retrieve the properties and relationships of chatMessageHostedContent object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 operationId: chat.message_GetHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.chatMessage summary: Update the navigation property hostedContents in chats operationId: chat.message_UpdateHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.chatMessage summary: Delete navigation property hostedContents for chats operationId: chat.message_DeleteHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - chats.chatMessage summary: List hostedContents description: 'Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 operationId: chat.message_GetHostedContentsContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - chats.chatMessage summary: Update media content for the navigation property hostedContents in chats description: The unique identifier for an entity. Read-only. operationId: chat.message_SetHostedContentsContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - chats.chatMessage summary: Delete media content for the navigation property hostedContents in chats description: The unique identifier for an entity. Read-only. operationId: chat.message_DeleteHostedContentsContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/chats/{chat-id}/messages/{chatMessage-id}/hostedContents/$count': get: tags: - chats.chatMessage summary: Get the number of the resource operationId: chat.message.hostedContent_GetCount parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/chats/{chat-id}/messages/{chatMessage-id}/microsoft.graph.setReaction': post: tags: - chats.chatMessage summary: Invoke action setReaction operationId: chat.message_setReaction parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/messages/{chatMessage-id}/microsoft.graph.softDelete': post: tags: - chats.chatMessage summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: chat.message_softDelete parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/messages/{chatMessage-id}/microsoft.graph.undoSoftDelete': post: tags: - chats.chatMessage summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: chat.message_undoSoftDelete parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/messages/{chatMessage-id}/microsoft.graph.unsetReaction': post: tags: - chats.chatMessage summary: Invoke action unsetReaction operationId: chat.message_unsetReaction parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/messages/{chatMessage-id}/replies': get: tags: - chats.chatMessage summary: Get replies from chats description: Replies for a specified message. Supports $expand for channel messages. operationId: chat.message_ListReply parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.chatMessage summary: Create new navigation property to replies for chats operationId: chat.message_CreateReply parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}': get: tags: - chats.chatMessage summary: Get replies from chats description: Replies for a specified message. Supports $expand for channel messages. operationId: chat.message_GetReply parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.chatMessage summary: Update the navigation property replies in chats operationId: chat.message_UpdateReply parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.chatMessage summary: Delete navigation property replies for chats operationId: chat.message_DeleteReply parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents': get: tags: - chats.chatMessage summary: Get hostedContents from chats description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: chat.message.reply_ListHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.chatMessage summary: Create new navigation property to hostedContents for chats operationId: chat.message.reply_CreateHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}': get: tags: - chats.chatMessage summary: Get hostedContents from chats description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: chat.message.reply_GetHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.chatMessage summary: Update the navigation property hostedContents in chats operationId: chat.message.reply_UpdateHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.chatMessage summary: Delete navigation property hostedContents for chats operationId: chat.message.reply_DeleteHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - chats.chatMessage summary: Get media content for the navigation property hostedContents from chats description: The unique identifier for an entity. Read-only. operationId: chat.message.reply_GetHostedContentsContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - chats.chatMessage summary: Update media content for the navigation property hostedContents in chats description: The unique identifier for an entity. Read-only. operationId: chat.message.reply_SetHostedContentsContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - chats.chatMessage summary: Delete media content for the navigation property hostedContents in chats description: The unique identifier for an entity. Read-only. operationId: chat.message.reply_DeleteHostedContentsContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/$count': get: tags: - chats.chatMessage summary: Get the number of the resource operationId: chat.message.reply.hostedContent_GetCount parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.setReaction': post: tags: - chats.chatMessage summary: Invoke action setReaction operationId: chat.message.reply_setReaction parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.softDelete': post: tags: - chats.chatMessage summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: chat.message.reply_softDelete parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.undoSoftDelete': post: tags: - chats.chatMessage summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: chat.message.reply_undoSoftDelete parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.unsetReaction': post: tags: - chats.chatMessage summary: Invoke action unsetReaction operationId: chat.message.reply_unsetReaction parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/messages/{chatMessage-id}/replies/$count': get: tags: - chats.chatMessage summary: Get the number of the resource operationId: chat.message.reply_GetCount parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/chats/{chat-id}/messages/{chatMessage-id}/replies/microsoft.graph.delta()': get: tags: - chats.chatMessage summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: chat.message.reply_delta parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/chats/{chat-id}/messages/{chatMessage-id}/replies/microsoft.graph.replyWithQuote': post: tags: - chats.chatMessage summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: chat.message.reply_replyGraphWPreQuote parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/messages/$count': get: tags: - chats.chatMessage summary: Get the number of the resource operationId: chat.message_GetCount parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/chats/{chat-id}/messages/microsoft.graph.delta()': get: tags: - chats.chatMessage summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: chat.message_delta parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/chats/{chat-id}/messages/microsoft.graph.replyWithQuote': post: tags: - chats.chatMessage summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: chat.message_replyGraphWPreQuote parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/microsoft.graph.completeMigration': post: tags: - chats.chat.Actions summary: Invoke action completeMigration description: 'Complete the migration of external messages by removing migration mode from a chat. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. After a completeMigration request is made for an existing or new chat, you can start a migration session by calling chat: startMigration. This API supportes the following channel types.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-completemigration?view=graph-rest-1.0 operationId: chat_completeMigration parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/microsoft.graph.hideForUser': post: tags: - chats.chat.Actions summary: Invoke action hideForUser description: Hide a chat for a user. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-hideforuser?view=graph-rest-1.0 operationId: chat_hideGraphFPreUser parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: user: $ref: '#/components/schemas/microsoft.graph.teamworkUserIdentity' additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/microsoft.graph.markChatReadForUser': post: tags: - chats.chat.Actions summary: Invoke action markChatReadForUser description: Mark a chat as read for a user. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-markchatreadforuser?view=graph-rest-1.0 operationId: chat_markChatReadGraphFPreUser parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: user: $ref: '#/components/schemas/microsoft.graph.teamworkUserIdentity' additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/microsoft.graph.markChatUnreadForUser': post: tags: - chats.chat.Actions summary: Invoke action markChatUnreadForUser description: Mark a chat as unread for a user. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-markchatunreadforuser?view=graph-rest-1.0 operationId: chat_markChatUnreadGraphFPreUser parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: user: $ref: '#/components/schemas/microsoft.graph.teamworkUserIdentity' lastMessageReadDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/microsoft.graph.removeAllAccessForUser': post: tags: - chats.chat.Actions summary: Invoke action removeAllAccessForUser description: Remove access to a chat for a user. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-removeallaccessforuser?view=graph-rest-1.0 operationId: chat_removeAllAccessGraphFPreUser parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: user: $ref: '#/components/schemas/microsoft.graph.teamworkUserIdentity' additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/microsoft.graph.sendActivityNotification': post: tags: - chats.chat.Actions summary: Invoke action sendActivityNotification description: 'Send an activity feed notification in scope of a chat. For more information about sending notifications and the requirements for doing so, see sending Teams activity notifications.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-sendactivitynotification?view=graph-rest-1.0 operationId: chat_sendActivityNotification parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: topic: $ref: '#/components/schemas/microsoft.graph.teamworkActivityTopic' activityType: type: string nullable: true chainId: type: number format: int64 nullable: true previewText: $ref: '#/components/schemas/microsoft.graph.itemBody' teamsAppId: type: string nullable: true templateParameters: type: array items: $ref: '#/components/schemas/microsoft.graph.keyValuePair' recipient: $ref: '#/components/schemas/microsoft.graph.teamworkNotificationRecipient' iconId: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/microsoft.graph.startMigration': post: tags: - chats.chat.Actions summary: Invoke action startMigration description: 'Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-startmigration?view=graph-rest-1.0 operationId: chat_startMigration parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: conversationCreationDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/microsoft.graph.unhideForUser': post: tags: - chats.chat.Actions summary: Invoke action unhideForUser description: Unhide a chat for a user. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-unhideforuser?view=graph-rest-1.0 operationId: chat_unhideGraphFPreUser parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: user: $ref: '#/components/schemas/microsoft.graph.teamworkUserIdentity' additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/permissionGrants': get: tags: - chats.resourceSpecificPermissionGrant summary: List permissionGrants of a chat description: 'List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding resource-specific access that each app has.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-list-permissiongrants?view=graph-rest-1.0 operationId: chat_ListPermissionGrant parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $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.resourceSpecificPermissionGrantCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.resourceSpecificPermissionGrant summary: Create new navigation property to permissionGrants for chats operationId: chat_CreatePermissionGrant parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/permissionGrants/{resourceSpecificPermissionGrant-id}': get: tags: - chats.resourceSpecificPermissionGrant summary: Get permissionGrants from chats description: A collection of permissions granted to apps for the chat. operationId: chat_GetPermissionGrant parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: resourceSpecificPermissionGrant-id in: path description: The unique identifier of resourceSpecificPermissionGrant required: true style: simple schema: type: string x-ms-docs-key-type: resourceSpecificPermissionGrant - 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.resourceSpecificPermissionGrant' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.resourceSpecificPermissionGrant summary: Update the navigation property permissionGrants in chats operationId: chat_UpdatePermissionGrant parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: resourceSpecificPermissionGrant-id in: path description: The unique identifier of resourceSpecificPermissionGrant required: true style: simple schema: type: string x-ms-docs-key-type: resourceSpecificPermissionGrant requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.resourceSpecificPermissionGrant summary: Delete navigation property permissionGrants for chats operationId: chat_DeletePermissionGrant parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: resourceSpecificPermissionGrant-id in: path description: The unique identifier of resourceSpecificPermissionGrant required: true style: simple schema: type: string x-ms-docs-key-type: resourceSpecificPermissionGrant - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/permissionGrants/$count': get: tags: - chats.resourceSpecificPermissionGrant summary: Get the number of the resource operationId: chat.permissionGrant_GetCount parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/chats/{chat-id}/pinnedMessages': get: tags: - chats.pinnedChatMessageInfo summary: List pinnedChatMessages in a chat description: Get a list of pinnedChatMessages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-list-pinnedmessages?view=graph-rest-1.0 operationId: chat_ListPinnedMessage parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $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.pinnedChatMessageInfoCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.pinnedChatMessageInfo summary: Pin a message in a chat description: Pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-post-pinnedmessages?view=graph-rest-1.0 operationId: chat_CreatePinnedMessage parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/pinnedMessages/{pinnedChatMessageInfo-id}': get: tags: - chats.pinnedChatMessageInfo summary: Get pinnedMessages from chats description: A collection of all the pinned messages in the chat. Nullable. operationId: chat_GetPinnedMessage parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: pinnedChatMessageInfo-id in: path description: The unique identifier of pinnedChatMessageInfo required: true style: simple schema: type: string x-ms-docs-key-type: pinnedChatMessageInfo - 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.pinnedChatMessageInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.pinnedChatMessageInfo summary: Update the navigation property pinnedMessages in chats operationId: chat_UpdatePinnedMessage parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: pinnedChatMessageInfo-id in: path description: The unique identifier of pinnedChatMessageInfo required: true style: simple schema: type: string x-ms-docs-key-type: pinnedChatMessageInfo requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.pinnedChatMessageInfo summary: Unpin a message from a chat description: Unpin a message from a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-delete-pinnedmessages?view=graph-rest-1.0 operationId: chat_DeletePinnedMessage parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: pinnedChatMessageInfo-id in: path description: The unique identifier of pinnedChatMessageInfo required: true style: simple schema: type: string x-ms-docs-key-type: pinnedChatMessageInfo - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/pinnedMessages/{pinnedChatMessageInfo-id}/message': get: tags: - chats.pinnedChatMessageInfo summary: Get message from chats description: Represents details about the chat message that is pinned. operationId: chat.pinnedMessage_GetMessage parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: pinnedChatMessageInfo-id in: path description: The unique identifier of pinnedChatMessageInfo required: true style: simple schema: type: string x-ms-docs-key-type: pinnedChatMessageInfo - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/pinnedMessages/$count': get: tags: - chats.pinnedChatMessageInfo summary: Get the number of the resource operationId: chat.pinnedMessage_GetCount parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/chats/{chat-id}/tabs': get: tags: - chats.teamsTab summary: List tabs in chat description: Retrieve the list of tabs in the specified chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-list-tabs?view=graph-rest-1.0 operationId: chat_ListTab parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $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.teamsTabCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.teamsTab summary: Add tab to chat description: "Add (pin) a tab to the specified chat. \r\nThe corresponding app must already be installed in the chat." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-post-tabs?view=graph-rest-1.0 operationId: chat_CreateTab parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/tabs/{teamsTab-id}': get: tags: - chats.teamsTab summary: Get tab in chat description: 'Retrieve the properties and relationships of the specified tab in a chat. ' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-get-tabs?view=graph-rest-1.0 operationId: chat_GetTab parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - 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.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.teamsTab summary: Update tab in chat description: "Update the properties of the specified tab in a chat. \r\nThis can be used to configure the content of the tab." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-patch-tabs?view=graph-rest-1.0 operationId: chat_UpdateTab parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.teamsTab summary: Delete tab from chat description: 'Remove (unpin) a tab from the specified chat. ' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-delete-tabs?view=graph-rest-1.0 operationId: chat_DeleteTab parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/tabs/{teamsTab-id}/teamsApp': get: tags: - chats.teamsTab summary: Get teamsApp from chats description: The application that is linked to the tab. This can't be changed after tab creation. operationId: chat.tab_GetTeamsApp parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/tabs/$count': get: tags: - chats.teamsTab summary: Get the number of the resource operationId: chat.tab_GetCount parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/chats/{chat-id}/targetedMessages': get: tags: - chats.targetedChatMessage summary: Get targetedMessages from chats description: 'A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can''t expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.' operationId: chat_ListTargetedMessage parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $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.targetedChatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.targetedChatMessage summary: Create new navigation property to targetedMessages for chats operationId: chat_CreateTargetedMessage parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.targetedChatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.targetedChatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}': get: tags: - chats.targetedChatMessage summary: Get targetedMessages from chats description: 'A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can''t expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.' operationId: chat_GetTargetedMessage parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - 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.targetedChatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.targetedChatMessage summary: Update the navigation property targetedMessages in chats operationId: chat_UpdateTargetedMessage parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.targetedChatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.targetedChatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.targetedChatMessage summary: Delete navigation property targetedMessages for chats operationId: chat_DeleteTargetedMessage parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/hostedContents': get: tags: - chats.targetedChatMessage summary: Get hostedContents from chats description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: chat.targetedMessage_ListHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.targetedChatMessage summary: Create new navigation property to hostedContents for chats operationId: chat.targetedMessage_CreateHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/hostedContents/{chatMessageHostedContent-id}': get: tags: - chats.targetedChatMessage summary: Get hostedContents from chats description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: chat.targetedMessage_GetHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.targetedChatMessage summary: Update the navigation property hostedContents in chats operationId: chat.targetedMessage_UpdateHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.targetedChatMessage summary: Delete navigation property hostedContents for chats operationId: chat.targetedMessage_DeleteHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - chats.targetedChatMessage summary: Get media content for the navigation property hostedContents from chats description: The unique identifier for an entity. Read-only. operationId: chat.targetedMessage_GetHostedContentsContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - chats.targetedChatMessage summary: Update media content for the navigation property hostedContents in chats description: The unique identifier for an entity. Read-only. operationId: chat.targetedMessage_SetHostedContentsContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - chats.targetedChatMessage summary: Delete media content for the navigation property hostedContents in chats description: The unique identifier for an entity. Read-only. operationId: chat.targetedMessage_DeleteHostedContentsContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/hostedContents/$count': get: tags: - chats.targetedChatMessage summary: Get the number of the resource operationId: chat.targetedMessage.hostedContent_GetCount parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies': get: tags: - chats.targetedChatMessage summary: Get replies from chats description: Replies for a specified message. Supports $expand for channel messages. operationId: chat.targetedMessage_ListReply parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.targetedChatMessage summary: Create new navigation property to replies for chats operationId: chat.targetedMessage_CreateReply parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/{chatMessage-id}': get: tags: - chats.targetedChatMessage summary: Get replies from chats description: Replies for a specified message. Supports $expand for channel messages. operationId: chat.targetedMessage_GetReply parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.targetedChatMessage summary: Update the navigation property replies in chats operationId: chat.targetedMessage_UpdateReply parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.targetedChatMessage summary: Delete navigation property replies for chats operationId: chat.targetedMessage_DeleteReply parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/{chatMessage-id}/hostedContents': get: tags: - chats.targetedChatMessage summary: Get hostedContents from chats description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: chat.targetedMessage.reply_ListHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.targetedChatMessage summary: Create new navigation property to hostedContents for chats operationId: chat.targetedMessage.reply_CreateHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}': get: tags: - chats.targetedChatMessage summary: Get hostedContents from chats description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: chat.targetedMessage.reply_GetHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.targetedChatMessage summary: Update the navigation property hostedContents in chats operationId: chat.targetedMessage.reply_UpdateHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.targetedChatMessage summary: Delete navigation property hostedContents for chats operationId: chat.targetedMessage.reply_DeleteHostedContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - chats.targetedChatMessage summary: Get media content for the navigation property hostedContents from chats description: The unique identifier for an entity. Read-only. operationId: chat.targetedMessage.reply_GetHostedContentsContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - chats.targetedChatMessage summary: Update media content for the navigation property hostedContents in chats description: The unique identifier for an entity. Read-only. operationId: chat.targetedMessage.reply_SetHostedContentsContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - chats.targetedChatMessage summary: Delete media content for the navigation property hostedContents in chats description: The unique identifier for an entity. Read-only. operationId: chat.targetedMessage.reply_DeleteHostedContentsContent parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/{chatMessage-id}/hostedContents/$count': get: tags: - chats.targetedChatMessage summary: Get the number of the resource operationId: chat.targetedMessage.reply.hostedContent_GetCount parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/{chatMessage-id}/microsoft.graph.setReaction': post: tags: - chats.targetedChatMessage summary: Invoke action setReaction operationId: chat.targetedMessage.reply_setReaction parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/{chatMessage-id}/microsoft.graph.softDelete': post: tags: - chats.targetedChatMessage summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: chat.targetedMessage.reply_softDelete parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/{chatMessage-id}/microsoft.graph.undoSoftDelete': post: tags: - chats.targetedChatMessage summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: chat.targetedMessage.reply_undoSoftDelete parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/{chatMessage-id}/microsoft.graph.unsetReaction': post: tags: - chats.targetedChatMessage summary: Invoke action unsetReaction operationId: chat.targetedMessage.reply_unsetReaction parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/$count': get: tags: - chats.targetedChatMessage summary: Get the number of the resource operationId: chat.targetedMessage.reply_GetCount parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/microsoft.graph.delta()': get: tags: - chats.targetedChatMessage summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: chat.targetedMessage.reply_delta parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/microsoft.graph.replyWithQuote': post: tags: - chats.targetedChatMessage summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: chat.targetedMessage.reply_replyGraphWPreQuote parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/chats/{chat-id}/targetedMessages/$count': get: tags: - chats.targetedChatMessage summary: Get the number of the resource operationId: chat.targetedMessage_GetCount parameters: - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' /chats/$count: get: tags: - chats.chat summary: Get the number of the resource operationId: chat_GetCount parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' /chats/microsoft.graph.getAllMessages(): get: tags: - chats.chat.Functions summary: Invoke function getAllMessages description: 'Get all messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chats-getallmessages?view=graph-rest-1.0 operationId: chat_getAllMessage parameters: - name: model in: query description: The payment model for the API style: form explode: false schema: type: string - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore /chats/microsoft.graph.getAllRetainedMessages(): get: tags: - chats.chat.Functions summary: Invoke function getAllRetainedMessages description: 'Get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-getallretainedmessages?view=graph-rest-1.0 operationId: chat_getAllRetainedMessage parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/groups/{group-id}/team': get: tags: - groups.team summary: Get team from groups description: The team associated with this group. operationId: group_GetTeam parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation put: tags: - groups.team summary: Create team from group description: 'Create a new team under a group. In order to create a team, the group must have at least one owner. If the group was created less than 15 minutes ago, calls to create a team might fail with a 404 Not Found error code because the group information didn''t fully replicate.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-put-teams?view=graph-rest-1.0 operationId: group_SetTeam parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.team' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.team' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property team for groups operationId: group_DeleteTeam parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/allChannels': get: tags: - groups.team summary: Get allChannels from groups description: List of channels either hosted in or shared with the team (incoming channels). operationId: group.team_ListAllChannel parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.channelCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/groups/{group-id}/team/allChannels/{channel-id}': get: tags: - groups.team summary: Get allChannels from groups description: List of channels either hosted in or shared with the team (incoming channels). operationId: group.team_GetAllChannel parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - 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.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/allChannels/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.allChannel_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/channels': get: tags: - groups.team summary: Get channels from groups description: The collection of channels and messages associated with the team. operationId: group.team_ListChannel parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.channelCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to channels for groups operationId: group.team_CreateChannel parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}': get: tags: - groups.team summary: Get channels from groups description: The collection of channels and messages associated with the team. operationId: group.team_GetChannel parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - 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.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property channels in groups operationId: group.team_UpdateChannel parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property channels for groups operationId: group.team_DeleteChannel parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/allMembers': get: tags: - groups.team summary: Get allMembers from groups description: 'A collection of membership records associated with the channel, including both direct and indirect members of shared channels.' operationId: group.team.channel_ListAllMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to allMembers for groups operationId: group.team.channel_CreateAllMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/allMembers/{conversationMember-id}': get: tags: - groups.team summary: Get allMembers from groups description: 'A collection of membership records associated with the channel, including both direct and indirect members of shared channels.' operationId: group.team.channel_GetAllMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property allMembers in groups operationId: group.team.channel_UpdateAllMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property allMembers for groups operationId: group.team.channel_DeleteAllMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/allMembers/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.channel.allMember_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/channels/{channel-id}/allMembers/microsoft.graph.add': post: tags: - groups.team summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: group.team.channel.allMember_add parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/groups/{group-id}/team/channels/{channel-id}/allMembers/microsoft.graph.remove': post: tags: - groups.team summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: group.team.channel.allMember_remove parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/groups/{group-id}/team/channels/{channel-id}/enabledApps': get: tags: - groups.team summary: Get enabledApps from groups description: A collection of enabled apps in the channel. operationId: group.team.channel_ListEnabledApp parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.teamsAppCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/enabledApps/{teamsApp-id}': get: tags: - groups.team summary: Get enabledApps from groups description: A collection of enabled apps in the channel. operationId: group.team.channel_GetEnabledApp parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/enabledApps/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.channel.enabledApp_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/channels/{channel-id}/filesFolder': get: tags: - groups.team summary: Get filesFolder from groups description: Metadata for the location where the channel's files are stored. operationId: group.team.channel_GetFilesFolder parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - 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.driveItem' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/filesFolder/content': get: tags: - groups.team summary: Get content for the navigation property filesFolder from groups description: 'The content stream, if the item represents a file.' operationId: group.team.channel_GetFilesFolderContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: $format in: query description: Format of the content style: form explode: false schema: type: string responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - groups.team summary: Update content for the navigation property filesFolder in groups description: 'The content stream, if the item represents a file.' operationId: group.team.channel_SetFilesFolderContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.driveItem' default: $ref: '#/components/responses/error' delete: tags: - groups.team summary: Delete content for the navigation property filesFolder in groups description: 'The content stream, if the item represents a file.' operationId: group.team.channel_DeleteFilesFolderContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/groups/{group-id}/team/channels/{channel-id}/members': get: tags: - groups.team summary: Get members from groups description: A collection of membership records associated with the channel. operationId: group.team.channel_ListMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to members for groups operationId: group.team.channel_CreateMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/members/{conversationMember-id}': get: tags: - groups.team summary: Get members from groups description: A collection of membership records associated with the channel. operationId: group.team.channel_GetMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property members in groups operationId: group.team.channel_UpdateMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property members for groups operationId: group.team.channel_DeleteMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/members/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.channel.member_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/channels/{channel-id}/members/microsoft.graph.add': post: tags: - groups.team summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: group.team.channel.member_add parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/groups/{group-id}/team/channels/{channel-id}/members/microsoft.graph.remove': post: tags: - groups.team summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: group.team.channel.member_remove parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/groups/{group-id}/team/channels/{channel-id}/messages': get: tags: - groups.team summary: Get messages from groups description: A collection of all the messages in the channel. A navigation property. Nullable. operationId: group.team.channel_ListMessage parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to messages for groups operationId: group.team.channel_CreateMessage parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}': get: tags: - groups.team summary: Get messages from groups description: A collection of all the messages in the channel. A navigation property. Nullable. operationId: group.team.channel_GetMessage parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property messages in groups operationId: group.team.channel_UpdateMessage parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property messages for groups operationId: group.team.channel_DeleteMessage parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/hostedContents': get: tags: - groups.team summary: Get hostedContents from groups description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: group.team.channel.message_ListHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to hostedContents for groups operationId: group.team.channel.message_CreateHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}': get: tags: - groups.team summary: Get hostedContents from groups description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: group.team.channel.message_GetHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property hostedContents in groups operationId: group.team.channel.message_UpdateHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property hostedContents for groups operationId: group.team.channel.message_DeleteHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - groups.team summary: Get media content for the navigation property hostedContents from groups description: The unique identifier for an entity. Read-only. operationId: group.team.channel.message_GetHostedContentsContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - groups.team summary: Update media content for the navigation property hostedContents in groups description: The unique identifier for an entity. Read-only. operationId: group.team.channel.message_SetHostedContentsContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - groups.team summary: Delete media content for the navigation property hostedContents in groups description: The unique identifier for an entity. Read-only. operationId: group.team.channel.message_DeleteHostedContentsContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.channel.message.hostedContent_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/microsoft.graph.setReaction': post: tags: - groups.team summary: Invoke action setReaction operationId: group.team.channel.message_setReaction parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/microsoft.graph.softDelete': post: tags: - groups.team summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: group.team.channel.message_softDelete parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/microsoft.graph.undoSoftDelete': post: tags: - groups.team summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: group.team.channel.message_undoSoftDelete parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/microsoft.graph.unsetReaction': post: tags: - groups.team summary: Invoke action unsetReaction operationId: group.team.channel.message_unsetReaction parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies': get: tags: - groups.team summary: Get replies from groups description: Replies for a specified message. Supports $expand for channel messages. operationId: group.team.channel.message_ListReply parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to replies for groups operationId: group.team.channel.message_CreateReply parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}': get: tags: - groups.team summary: Get replies from groups description: Replies for a specified message. Supports $expand for channel messages. operationId: group.team.channel.message_GetReply parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property replies in groups operationId: group.team.channel.message_UpdateReply parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property replies for groups operationId: group.team.channel.message_DeleteReply parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents': get: tags: - groups.team summary: Get hostedContents from groups description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: group.team.channel.message.reply_ListHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to hostedContents for groups operationId: group.team.channel.message.reply_CreateHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}': get: tags: - groups.team summary: Get hostedContents from groups description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: group.team.channel.message.reply_GetHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property hostedContents in groups operationId: group.team.channel.message.reply_UpdateHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property hostedContents for groups operationId: group.team.channel.message.reply_DeleteHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - groups.team summary: Get media content for the navigation property hostedContents from groups description: The unique identifier for an entity. Read-only. operationId: group.team.channel.message.reply_GetHostedContentsContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - groups.team summary: Update media content for the navigation property hostedContents in groups description: The unique identifier for an entity. Read-only. operationId: group.team.channel.message.reply_SetHostedContentsContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - groups.team summary: Delete media content for the navigation property hostedContents in groups description: The unique identifier for an entity. Read-only. operationId: group.team.channel.message.reply_DeleteHostedContentsContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.channel.message.reply.hostedContent_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.setReaction': post: tags: - groups.team summary: Invoke action setReaction operationId: group.team.channel.message.reply_setReaction parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.softDelete': post: tags: - groups.team summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: group.team.channel.message.reply_softDelete parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.undoSoftDelete': post: tags: - groups.team summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: group.team.channel.message.reply_undoSoftDelete parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.unsetReaction': post: tags: - groups.team summary: Invoke action unsetReaction operationId: group.team.channel.message.reply_unsetReaction parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.channel.message.reply_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/microsoft.graph.delta()': get: tags: - groups.team summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: group.team.channel.message.reply_delta parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/microsoft.graph.replyWithQuote': post: tags: - groups.team summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: group.team.channel.message.reply_replyGraphWPreQuote parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/channels/{channel-id}/messages/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.channel.message_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/channels/{channel-id}/messages/microsoft.graph.delta()': get: tags: - groups.team summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: group.team.channel.message_delta parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/groups/{group-id}/team/channels/{channel-id}/messages/microsoft.graph.replyWithQuote': post: tags: - groups.team summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: group.team.channel.message_replyGraphWPreQuote parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/channels/{channel-id}/microsoft.graph.archive': post: tags: - groups.team summary: Invoke action archive description: 'Archive a channel in a team. When a channel is archived, users can''t send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can''t be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-1.0 operationId: group.team.channel_archive parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: shouldSetSpoSiteReadOnlyForMembers: type: boolean default: false nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/channels/{channel-id}/microsoft.graph.completeMigration': post: tags: - groups.team summary: Invoke action completeMigration description: 'Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-completemigration?view=graph-rest-1.0 operationId: group.team.channel_completeMigration parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/channels/{channel-id}/microsoft.graph.doesUserHaveAccess(userId=''@userId'',tenantId=''@tenantId'',userPrincipalName=''@userPrincipalName'')': get: tags: - groups.team summary: Invoke function doesUserHaveAccess description: Determine whether a user has access to a channel. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-doesuserhaveaccess?view=graph-rest-1.0 operationId: group.team.channel_doesUserHaveAccess parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: userId in: query description: 'Usage: userId=''@userId''' style: form explode: false schema: type: string nullable: true - name: tenantId in: query description: 'Usage: tenantId=''@tenantId''' style: form explode: false schema: type: string nullable: true - name: userPrincipalName in: query description: 'Usage: userPrincipalName=''@userPrincipalName''' style: form explode: false schema: type: string nullable: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: boolean default: false additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/groups/{group-id}/team/channels/{channel-id}/microsoft.graph.provisionEmail': post: tags: - groups.team summary: Invoke action provisionEmail description: 'Provision an email address for a channel. Microsoft Teams doesn''t automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 operationId: group.team.channel_provisionEmail parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.provisionChannelEmailResult' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/channels/{channel-id}/microsoft.graph.removeEmail': post: tags: - groups.team summary: Invoke action removeEmail description: Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-1.0 operationId: group.team.channel_removeEmail parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/channels/{channel-id}/microsoft.graph.startMigration': post: tags: - groups.team summary: Invoke action startMigration description: 'Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-startmigration?view=graph-rest-1.0 operationId: group.team.channel_startMigration parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: conversationCreationDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/channels/{channel-id}/microsoft.graph.unarchive': post: tags: - groups.team summary: Invoke action unarchive description: 'Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-1.0 operationId: group.team.channel_unarchive parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/channels/{channel-id}/sharedWithTeams': get: tags: - groups.team summary: Get sharedWithTeams from groups description: A collection of teams with which a channel is shared. operationId: group.team.channel_ListSharedGraphWPreTeam parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.sharedWithChannelTeamInfoCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to sharedWithTeams for groups operationId: group.team.channel_CreateSharedGraphWPreTeam parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}': get: tags: - groups.team summary: Get sharedWithTeams from groups description: A collection of teams with which a channel is shared. operationId: group.team.channel_GetSharedGraphWPreTeam parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - 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.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property sharedWithTeams in groups operationId: group.team.channel_UpdateSharedGraphWPreTeam parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property sharedWithTeams for groups operationId: group.team.channel_DeleteSharedGraphWPreTeam parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers': get: tags: - groups.team summary: Get allowedMembers from groups description: A collection of team members who have access to the shared channel. operationId: group.team.channel.sharedGraphWPreTeam_ListAllowedMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers/{conversationMember-id}': get: tags: - groups.team summary: Get allowedMembers from groups description: A collection of team members who have access to the shared channel. operationId: group.team.channel.sharedGraphWPreTeam_GetAllowedMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.channel.sharedGraphWPreTeam.allowedMember_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}/team': get: tags: - groups.team summary: Get team from groups operationId: group.team.channel.sharedGraphWPreTeam_GetTeam parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/sharedWithTeams/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.channel.sharedGraphWPreTeam_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/channels/{channel-id}/tabs': get: tags: - groups.team summary: Get tabs from groups description: A collection of all the tabs in the channel. A navigation property. operationId: group.team.channel_ListTab parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.teamsTabCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to tabs for groups operationId: group.team.channel_CreateTab parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/tabs/{teamsTab-id}': get: tags: - groups.team summary: Get tabs from groups description: A collection of all the tabs in the channel. A navigation property. operationId: group.team.channel_GetTab parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - 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.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property tabs in groups operationId: group.team.channel_UpdateTab parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property tabs for groups operationId: group.team.channel_DeleteTab parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/tabs/{teamsTab-id}/teamsApp': get: tags: - groups.team summary: Get teamsApp from groups description: The application that is linked to the tab. This can't be changed after tab creation. operationId: group.team.channel.tab_GetTeamsApp parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/channels/{channel-id}/tabs/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.channel.tab_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/channels/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.channel_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/channels/microsoft.graph.getAllMessages()': get: tags: - groups.team summary: Invoke function getAllMessages description: 'Retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-getallmessages?view=graph-rest-1.0 operationId: group.team.channel_getAllMessage parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: model in: query description: The payment model for the API style: form explode: false schema: type: string - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/groups/{group-id}/team/channels/microsoft.graph.getAllRetainedMessages()': get: tags: - groups.team summary: Invoke function getAllRetainedMessages description: 'Get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-getallretainedmessages?view=graph-rest-1.0 operationId: group.team.channel_getAllRetainedMessage parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/groups/{group-id}/team/group': get: tags: - groups.team summary: Get group from groups operationId: group.team_GetGroup parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - 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.group' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/group/serviceProvisioningErrors': get: tags: - groups.team summary: Get serviceProvisioningErrors property value description: 'Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a group object. Supports $filter (eq, not, for isResolved and serviceInstance).' operationId: group.team.group_ListServiceProvisioningError parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.serviceProvisioningErrorCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/groups/{group-id}/team/group/serviceProvisioningErrors/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.group.ServiceProvisioningError_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/incomingChannels': get: tags: - groups.team summary: Get incomingChannels from groups description: List of channels shared with the team. operationId: group.team_ListIncomingChannel parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.channelCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/groups/{group-id}/team/incomingChannels/{channel-id}': get: tags: - groups.team summary: Get incomingChannels from groups description: List of channels shared with the team. operationId: group.team_GetIncomingChannel parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - 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.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/incomingChannels/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.incomingChannel_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/installedApps': get: tags: - groups.team summary: Get installedApps from groups description: The apps installed in this team. operationId: group.team_ListInstalledApp parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.teamsAppInstallationCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to installedApps for groups operationId: group.team_CreateInstalledApp parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/installedApps/{teamsAppInstallation-id}': get: tags: - groups.team summary: Get installedApps from groups description: The apps installed in this team. operationId: group.team_GetInstalledApp parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - 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.teamsAppInstallation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property installedApps in groups operationId: group.team_UpdateInstalledApp parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property installedApps for groups operationId: group.team_DeleteInstalledApp parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/installedApps/{teamsAppInstallation-id}/microsoft.graph.upgrade': post: tags: - groups.team summary: Invoke action upgrade description: Upgrade an app installation within a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-1.0 operationId: group.team.installedApp_upgrade parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation requestBody: description: Action parameters content: application/json: schema: type: object properties: consentedPermissionSet: $ref: '#/components/schemas/microsoft.graph.teamsAppPermissionSet' additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/installedApps/{teamsAppInstallation-id}/teamsApp': get: tags: - groups.team summary: Get teamsApp from groups description: The app that is installed. operationId: group.team.installedApp_GetTeamsApp parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/installedApps/{teamsAppInstallation-id}/teamsAppDefinition': get: tags: - groups.team summary: Get teamsAppDefinition from groups description: The details of this version of the app. operationId: group.team.installedApp_GetTeamsAppDefinition parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/installedApps/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.installedApp_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/members': get: tags: - groups.team summary: Get members from groups description: Members and owners of the team. operationId: group.team_ListMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to members for groups operationId: group.team_CreateMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/members/{conversationMember-id}': get: tags: - groups.team summary: Get members from groups description: Members and owners of the team. operationId: group.team_GetMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property members in groups operationId: group.team_UpdateMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property members for groups operationId: group.team_DeleteMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/members/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.member_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/members/microsoft.graph.add': post: tags: - groups.team summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: group.team.member_add parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/groups/{group-id}/team/members/microsoft.graph.remove': post: tags: - groups.team summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: group.team.member_remove parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/groups/{group-id}/team/microsoft.graph.archive': post: tags: - groups.team summary: Invoke action archive description: "Archive the specified team. \r\nWhen a team is archived, users can no longer make most changes to the team. For example, users can no longer: send or like messages on any channel in the team; edit the team's name or description; nor edit other settings. However, membership changes to the team are still allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which might occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-archive?view=graph-rest-1.0 operationId: group.team_archive parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: Action parameters content: application/json: schema: type: object properties: shouldSetSpoSiteReadOnlyForMembers: type: boolean default: false nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/microsoft.graph.clone': post: tags: - groups.team summary: Invoke action clone description: "Create a copy of a team. This operation also creates a copy of the corresponding group.\r\nYou can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. \r\nIf the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-clone?view=graph-rest-1.0 operationId: group.team_clone parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: Action parameters content: application/json: schema: type: object properties: displayName: type: string nullable: true description: type: string nullable: true mailNickname: type: string nullable: true classification: type: string nullable: true visibility: $ref: '#/components/schemas/microsoft.graph.teamVisibilityType' partsToClone: $ref: '#/components/schemas/microsoft.graph.clonableTeamParts' additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/microsoft.graph.completeMigration': post: tags: - groups.team summary: Invoke action completeMigration description: 'Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can''t import additional messages into the team. You can add members to the team after the request returns a successful response.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-completemigration?view=graph-rest-1.0 operationId: group.team_completeMigration parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/microsoft.graph.sendActivityNotification': post: tags: - groups.team summary: Invoke action sendActivityNotification description: "Send an activity feed notification in the scope of a team. For more information about sending notifications and the requirements for doing so, see\r\nsending Teams activity notifications." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-sendactivitynotification?view=graph-rest-1.0 operationId: group.team_sendActivityNotification parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: Action parameters content: application/json: schema: type: object properties: topic: $ref: '#/components/schemas/microsoft.graph.teamworkActivityTopic' activityType: type: string nullable: true chainId: type: number format: int64 nullable: true previewText: $ref: '#/components/schemas/microsoft.graph.itemBody' teamsAppId: type: string nullable: true templateParameters: type: array items: $ref: '#/components/schemas/microsoft.graph.keyValuePair' recipient: $ref: '#/components/schemas/microsoft.graph.teamworkNotificationRecipient' iconId: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/microsoft.graph.unarchive': post: tags: - groups.team summary: Invoke action unarchive description: 'Restore an archived team. This API restores users'' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-1.0 operationId: group.team_unarchive parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/operations': get: tags: - groups.team summary: Get operations from groups description: The async operations that ran or are running on this team. operationId: group.team_ListOperation parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.teamsAsyncOperationCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to operations for groups operationId: group.team_CreateOperation parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAsyncOperation' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAsyncOperation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/operations/{teamsAsyncOperation-id}': get: tags: - groups.team summary: Get operations from groups description: The async operations that ran or are running on this team. operationId: group.team_GetOperation parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamsAsyncOperation-id in: path description: The unique identifier of teamsAsyncOperation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAsyncOperation - 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.teamsAsyncOperation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property operations in groups operationId: group.team_UpdateOperation parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamsAsyncOperation-id in: path description: The unique identifier of teamsAsyncOperation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAsyncOperation requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAsyncOperation' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAsyncOperation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property operations for groups operationId: group.team_DeleteOperation parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamsAsyncOperation-id in: path description: The unique identifier of teamsAsyncOperation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAsyncOperation - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/operations/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.operation_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/permissionGrants': get: tags: - groups.team summary: Get permissionGrants from groups description: A collection of permissions granted to apps to access the team. operationId: group.team_ListPermissionGrant parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.resourceSpecificPermissionGrantCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to permissionGrants for groups operationId: group.team_CreatePermissionGrant parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/permissionGrants/{resourceSpecificPermissionGrant-id}': get: tags: - groups.team summary: Get permissionGrants from groups description: A collection of permissions granted to apps to access the team. operationId: group.team_GetPermissionGrant parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: resourceSpecificPermissionGrant-id in: path description: The unique identifier of resourceSpecificPermissionGrant required: true style: simple schema: type: string x-ms-docs-key-type: resourceSpecificPermissionGrant - 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.resourceSpecificPermissionGrant' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property permissionGrants in groups operationId: group.team_UpdatePermissionGrant parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: resourceSpecificPermissionGrant-id in: path description: The unique identifier of resourceSpecificPermissionGrant required: true style: simple schema: type: string x-ms-docs-key-type: resourceSpecificPermissionGrant requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property permissionGrants for groups operationId: group.team_DeletePermissionGrant parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: resourceSpecificPermissionGrant-id in: path description: The unique identifier of resourceSpecificPermissionGrant required: true style: simple schema: type: string x-ms-docs-key-type: resourceSpecificPermissionGrant - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/permissionGrants/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.permissionGrant_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/photo': get: tags: - groups.team summary: Get photo from groups description: The profile photo for the team. operationId: group.team_GetPhoto parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - 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.profilePhoto' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property photo in groups operationId: group.team_UpdatePhoto parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.profilePhoto' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.profilePhoto' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/photo/$value': get: tags: - groups.team summary: Get media content for the navigation property photo from groups description: The profile photo for the team. operationId: group.team_GetPhotoContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - groups.team summary: Update media content for the navigation property photo in groups description: The profile photo for the team. operationId: group.team_SetPhotoContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - groups.team summary: Delete media content for the navigation property photo in groups description: The profile photo for the team. operationId: group.team_DeletePhotoContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/groups/{group-id}/team/primaryChannel': get: tags: - groups.team summary: Get primaryChannel from groups description: The general channel for the team. operationId: group.team_GetPrimaryChannel parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - 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.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property primaryChannel in groups operationId: group.team_UpdatePrimaryChannel parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property primaryChannel for groups operationId: group.team_DeletePrimaryChannel parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/allMembers': get: tags: - groups.team summary: Get allMembers from groups description: 'A collection of membership records associated with the channel, including both direct and indirect members of shared channels.' operationId: group.team.primaryChannel_ListAllMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to allMembers for groups operationId: group.team.primaryChannel_CreateAllMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/allMembers/{conversationMember-id}': get: tags: - groups.team summary: Get allMembers from groups description: 'A collection of membership records associated with the channel, including both direct and indirect members of shared channels.' operationId: group.team.primaryChannel_GetAllMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property allMembers in groups operationId: group.team.primaryChannel_UpdateAllMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property allMembers for groups operationId: group.team.primaryChannel_DeleteAllMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/allMembers/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.primaryChannel.allMember_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/primaryChannel/allMembers/microsoft.graph.add': post: tags: - groups.team summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: group.team.primaryChannel.allMember_add parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/groups/{group-id}/team/primaryChannel/allMembers/microsoft.graph.remove': post: tags: - groups.team summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: group.team.primaryChannel.allMember_remove parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/groups/{group-id}/team/primaryChannel/enabledApps': get: tags: - groups.team summary: Get enabledApps from groups description: A collection of enabled apps in the channel. operationId: group.team.primaryChannel_ListEnabledApp parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.teamsAppCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/enabledApps/{teamsApp-id}': get: tags: - groups.team summary: Get enabledApps from groups description: A collection of enabled apps in the channel. operationId: group.team.primaryChannel_GetEnabledApp parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/enabledApps/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.primaryChannel.enabledApp_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/primaryChannel/filesFolder': get: tags: - groups.team summary: Get filesFolder from groups description: Metadata for the location where the channel's files are stored. operationId: group.team.primaryChannel_GetFilesFolder parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - 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.driveItem' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/filesFolder/content': get: tags: - groups.team summary: Get content for the navigation property filesFolder from groups description: 'The content stream, if the item represents a file.' operationId: group.team.primaryChannel_GetFilesFolderContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: $format in: query description: Format of the content style: form explode: false schema: type: string responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - groups.team summary: Update content for the navigation property filesFolder in groups description: 'The content stream, if the item represents a file.' operationId: group.team.primaryChannel_SetFilesFolderContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.driveItem' default: $ref: '#/components/responses/error' delete: tags: - groups.team summary: Delete content for the navigation property filesFolder in groups description: 'The content stream, if the item represents a file.' operationId: group.team.primaryChannel_DeleteFilesFolderContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/groups/{group-id}/team/primaryChannel/members': get: tags: - groups.team summary: Get members from groups description: A collection of membership records associated with the channel. operationId: group.team.primaryChannel_ListMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to members for groups operationId: group.team.primaryChannel_CreateMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/members/{conversationMember-id}': get: tags: - groups.team summary: Get members from groups description: A collection of membership records associated with the channel. operationId: group.team.primaryChannel_GetMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property members in groups operationId: group.team.primaryChannel_UpdateMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property members for groups operationId: group.team.primaryChannel_DeleteMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/members/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.primaryChannel.member_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/primaryChannel/members/microsoft.graph.add': post: tags: - groups.team summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: group.team.primaryChannel.member_add parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/groups/{group-id}/team/primaryChannel/members/microsoft.graph.remove': post: tags: - groups.team summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: group.team.primaryChannel.member_remove parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/groups/{group-id}/team/primaryChannel/messages': get: tags: - groups.team summary: Get messages from groups description: A collection of all the messages in the channel. A navigation property. Nullable. operationId: group.team.primaryChannel_ListMessage parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to messages for groups operationId: group.team.primaryChannel_CreateMessage parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}': get: tags: - groups.team summary: Get messages from groups description: A collection of all the messages in the channel. A navigation property. Nullable. operationId: group.team.primaryChannel_GetMessage parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property messages in groups operationId: group.team.primaryChannel_UpdateMessage parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property messages for groups operationId: group.team.primaryChannel_DeleteMessage parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/hostedContents': get: tags: - groups.team summary: Get hostedContents from groups description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: group.team.primaryChannel.message_ListHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to hostedContents for groups operationId: group.team.primaryChannel.message_CreateHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}': get: tags: - groups.team summary: Get hostedContents from groups description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: group.team.primaryChannel.message_GetHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property hostedContents in groups operationId: group.team.primaryChannel.message_UpdateHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property hostedContents for groups operationId: group.team.primaryChannel.message_DeleteHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - groups.team summary: Get media content for the navigation property hostedContents from groups description: The unique identifier for an entity. Read-only. operationId: group.team.primaryChannel.message_GetHostedContentsContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - groups.team summary: Update media content for the navigation property hostedContents in groups description: The unique identifier for an entity. Read-only. operationId: group.team.primaryChannel.message_SetHostedContentsContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - groups.team summary: Delete media content for the navigation property hostedContents in groups description: The unique identifier for an entity. Read-only. operationId: group.team.primaryChannel.message_DeleteHostedContentsContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/hostedContents/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.primaryChannel.message.hostedContent_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/microsoft.graph.setReaction': post: tags: - groups.team summary: Invoke action setReaction operationId: group.team.primaryChannel.message_setReaction parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/microsoft.graph.softDelete': post: tags: - groups.team summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: group.team.primaryChannel.message_softDelete parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/microsoft.graph.undoSoftDelete': post: tags: - groups.team summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: group.team.primaryChannel.message_undoSoftDelete parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/microsoft.graph.unsetReaction': post: tags: - groups.team summary: Invoke action unsetReaction operationId: group.team.primaryChannel.message_unsetReaction parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies': get: tags: - groups.team summary: Get replies from groups description: Replies for a specified message. Supports $expand for channel messages. operationId: group.team.primaryChannel.message_ListReply parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to replies for groups operationId: group.team.primaryChannel.message_CreateReply parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}': get: tags: - groups.team summary: Get replies from groups description: Replies for a specified message. Supports $expand for channel messages. operationId: group.team.primaryChannel.message_GetReply parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property replies in groups operationId: group.team.primaryChannel.message_UpdateReply parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property replies for groups operationId: group.team.primaryChannel.message_DeleteReply parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents': get: tags: - groups.team summary: Get hostedContents from groups description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: group.team.primaryChannel.message.reply_ListHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to hostedContents for groups operationId: group.team.primaryChannel.message.reply_CreateHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}': get: tags: - groups.team summary: Get hostedContents from groups description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: group.team.primaryChannel.message.reply_GetHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property hostedContents in groups operationId: group.team.primaryChannel.message.reply_UpdateHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property hostedContents for groups operationId: group.team.primaryChannel.message.reply_DeleteHostedContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - groups.team summary: Get media content for the navigation property hostedContents from groups description: The unique identifier for an entity. Read-only. operationId: group.team.primaryChannel.message.reply_GetHostedContentsContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - groups.team summary: Update media content for the navigation property hostedContents in groups description: The unique identifier for an entity. Read-only. operationId: group.team.primaryChannel.message.reply_SetHostedContentsContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - groups.team summary: Delete media content for the navigation property hostedContents in groups description: The unique identifier for an entity. Read-only. operationId: group.team.primaryChannel.message.reply_DeleteHostedContentsContent parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.primaryChannel.message.reply.hostedContent_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.setReaction': post: tags: - groups.team summary: Invoke action setReaction operationId: group.team.primaryChannel.message.reply_setReaction parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.softDelete': post: tags: - groups.team summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: group.team.primaryChannel.message.reply_softDelete parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.undoSoftDelete': post: tags: - groups.team summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: group.team.primaryChannel.message.reply_undoSoftDelete parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.unsetReaction': post: tags: - groups.team summary: Invoke action unsetReaction operationId: group.team.primaryChannel.message.reply_unsetReaction parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.primaryChannel.message.reply_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/microsoft.graph.delta()': get: tags: - groups.team summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: group.team.primaryChannel.message.reply_delta parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/microsoft.graph.replyWithQuote': post: tags: - groups.team summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: group.team.primaryChannel.message.reply_replyGraphWPreQuote parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/primaryChannel/messages/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.primaryChannel.message_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/primaryChannel/messages/microsoft.graph.delta()': get: tags: - groups.team summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: group.team.primaryChannel.message_delta parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/groups/{group-id}/team/primaryChannel/messages/microsoft.graph.replyWithQuote': post: tags: - groups.team summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: group.team.primaryChannel.message_replyGraphWPreQuote parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/primaryChannel/microsoft.graph.archive': post: tags: - groups.team summary: Invoke action archive description: 'Archive a channel in a team. When a channel is archived, users can''t send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can''t be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-1.0 operationId: group.team.primaryChannel_archive parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: Action parameters content: application/json: schema: type: object properties: shouldSetSpoSiteReadOnlyForMembers: type: boolean default: false nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/primaryChannel/microsoft.graph.completeMigration': post: tags: - groups.team summary: Invoke action completeMigration description: 'Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-completemigration?view=graph-rest-1.0 operationId: group.team.primaryChannel_completeMigration parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/primaryChannel/microsoft.graph.doesUserHaveAccess(userId=''@userId'',tenantId=''@tenantId'',userPrincipalName=''@userPrincipalName'')': get: tags: - groups.team summary: Invoke function doesUserHaveAccess description: Determine whether a user has access to a channel. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-doesuserhaveaccess?view=graph-rest-1.0 operationId: group.team.primaryChannel_doesUserHaveAccess parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: userId in: query description: 'Usage: userId=''@userId''' style: form explode: false schema: type: string nullable: true - name: tenantId in: query description: 'Usage: tenantId=''@tenantId''' style: form explode: false schema: type: string nullable: true - name: userPrincipalName in: query description: 'Usage: userPrincipalName=''@userPrincipalName''' style: form explode: false schema: type: string nullable: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: boolean default: false additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/groups/{group-id}/team/primaryChannel/microsoft.graph.provisionEmail': post: tags: - groups.team summary: Invoke action provisionEmail description: 'Provision an email address for a channel. Microsoft Teams doesn''t automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 operationId: group.team.primaryChannel_provisionEmail parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.provisionChannelEmailResult' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/primaryChannel/microsoft.graph.removeEmail': post: tags: - groups.team summary: Invoke action removeEmail description: Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-1.0 operationId: group.team.primaryChannel_removeEmail parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/primaryChannel/microsoft.graph.startMigration': post: tags: - groups.team summary: Invoke action startMigration description: 'Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-startmigration?view=graph-rest-1.0 operationId: group.team.primaryChannel_startMigration parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: Action parameters content: application/json: schema: type: object properties: conversationCreationDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/primaryChannel/microsoft.graph.unarchive': post: tags: - groups.team summary: Invoke action unarchive description: 'Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-1.0 operationId: group.team.primaryChannel_unarchive parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/primaryChannel/sharedWithTeams': get: tags: - groups.team summary: Get sharedWithTeams from groups description: A collection of teams with which a channel is shared. operationId: group.team.primaryChannel_ListSharedGraphWPreTeam parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.sharedWithChannelTeamInfoCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to sharedWithTeams for groups operationId: group.team.primaryChannel_CreateSharedGraphWPreTeam parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo-id}': get: tags: - groups.team summary: Get sharedWithTeams from groups description: A collection of teams with which a channel is shared. operationId: group.team.primaryChannel_GetSharedGraphWPreTeam parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - 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.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property sharedWithTeams in groups operationId: group.team.primaryChannel_UpdateSharedGraphWPreTeam parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property sharedWithTeams for groups operationId: group.team.primaryChannel_DeleteSharedGraphWPreTeam parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers': get: tags: - groups.team summary: Get allowedMembers from groups description: A collection of team members who have access to the shared channel. operationId: group.team.primaryChannel.sharedGraphWPreTeam_ListAllowedMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers/{conversationMember-id}': get: tags: - groups.team summary: Get allowedMembers from groups description: A collection of team members who have access to the shared channel. operationId: group.team.primaryChannel.sharedGraphWPreTeam_GetAllowedMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.primaryChannel.sharedGraphWPreTeam.allowedMember_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo-id}/team': get: tags: - groups.team summary: Get team from groups operationId: group.team.primaryChannel.sharedGraphWPreTeam_GetTeam parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/sharedWithTeams/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.primaryChannel.sharedGraphWPreTeam_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/primaryChannel/tabs': get: tags: - groups.team summary: Get tabs from groups description: A collection of all the tabs in the channel. A navigation property. operationId: group.team.primaryChannel_ListTab parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.teamsTabCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to tabs for groups operationId: group.team.primaryChannel_CreateTab parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/tabs/{teamsTab-id}': get: tags: - groups.team summary: Get tabs from groups description: A collection of all the tabs in the channel. A navigation property. operationId: group.team.primaryChannel_GetTab parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - 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.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property tabs in groups operationId: group.team.primaryChannel_UpdateTab parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property tabs for groups operationId: group.team.primaryChannel_DeleteTab parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/tabs/{teamsTab-id}/teamsApp': get: tags: - groups.team summary: Get teamsApp from groups description: The application that is linked to the tab. This can't be changed after tab creation. operationId: group.team.primaryChannel.tab_GetTeamsApp parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/primaryChannel/tabs/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.primaryChannel.tab_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/schedule': get: tags: - groups.team summary: Get schedule from groups description: The schedule of shifts for this team. operationId: group.team_GetSchedule parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - 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.schedule' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation put: tags: - groups.team summary: Update the navigation property schedule in groups operationId: group.team_SetSchedule parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.schedule' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.schedule' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property schedule for groups operationId: group.team_DeleteSchedule parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/dayNotes': get: tags: - groups.team summary: Get dayNotes from groups description: The day notes in the schedule. operationId: group.team.schedule_ListDayNote parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.dayNoteCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to dayNotes for groups operationId: group.team.schedule_CreateDayNote parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.dayNote' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.dayNote' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/dayNotes/{dayNote-id}': get: tags: - groups.team summary: Get dayNotes from groups description: The day notes in the schedule. operationId: group.team.schedule_GetDayNote parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: dayNote-id in: path description: The unique identifier of dayNote required: true style: simple schema: type: string x-ms-docs-key-type: dayNote - 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.dayNote' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property dayNotes in groups operationId: group.team.schedule_UpdateDayNote parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: dayNote-id in: path description: The unique identifier of dayNote required: true style: simple schema: type: string x-ms-docs-key-type: dayNote requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.dayNote' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.dayNote' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property dayNotes for groups operationId: group.team.schedule_DeleteDayNote parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: dayNote-id in: path description: The unique identifier of dayNote required: true style: simple schema: type: string x-ms-docs-key-type: dayNote - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/dayNotes/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.schedule.dayNote_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/schedule/microsoft.graph.share': post: tags: - groups.team summary: Invoke action share description: 'Share a schedule time range with schedule members. This action makes the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers. Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/schedule-share?view=graph-rest-1.0 operationId: group.team.schedule_share parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: Action parameters content: application/json: schema: type: object properties: notifyTeam: type: boolean default: false nullable: true startDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time nullable: true endDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/schedule/offerShiftRequests': get: tags: - groups.team summary: Get offerShiftRequests from groups description: The offer requests for shifts in the schedule. operationId: group.team.schedule_ListOfferShiftRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.offerShiftRequestCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to offerShiftRequests for groups operationId: group.team.schedule_CreateOfferShiftRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.offerShiftRequest' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.offerShiftRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/offerShiftRequests/{offerShiftRequest-id}': get: tags: - groups.team summary: Get offerShiftRequests from groups description: The offer requests for shifts in the schedule. operationId: group.team.schedule_GetOfferShiftRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: offerShiftRequest-id in: path description: The unique identifier of offerShiftRequest required: true style: simple schema: type: string x-ms-docs-key-type: offerShiftRequest - 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.offerShiftRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property offerShiftRequests in groups operationId: group.team.schedule_UpdateOfferShiftRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: offerShiftRequest-id in: path description: The unique identifier of offerShiftRequest required: true style: simple schema: type: string x-ms-docs-key-type: offerShiftRequest requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.offerShiftRequest' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.offerShiftRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property offerShiftRequests for groups operationId: group.team.schedule_DeleteOfferShiftRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: offerShiftRequest-id in: path description: The unique identifier of offerShiftRequest required: true style: simple schema: type: string x-ms-docs-key-type: offerShiftRequest - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/offerShiftRequests/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.schedule.offerShiftRequest_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/schedule/openShiftChangeRequests': get: tags: - groups.team summary: Get openShiftChangeRequests from groups description: The open shift requests in the schedule. operationId: group.team.schedule_ListOpenShiftChangeRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.openShiftChangeRequestCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to openShiftChangeRequests for groups operationId: group.team.schedule_CreateOpenShiftChangeRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShiftChangeRequest' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShiftChangeRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/openShiftChangeRequests/{openShiftChangeRequest-id}': get: tags: - groups.team summary: Get openShiftChangeRequests from groups description: The open shift requests in the schedule. operationId: group.team.schedule_GetOpenShiftChangeRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: openShiftChangeRequest-id in: path description: The unique identifier of openShiftChangeRequest required: true style: simple schema: type: string x-ms-docs-key-type: openShiftChangeRequest - 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.openShiftChangeRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property openShiftChangeRequests in groups operationId: group.team.schedule_UpdateOpenShiftChangeRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: openShiftChangeRequest-id in: path description: The unique identifier of openShiftChangeRequest required: true style: simple schema: type: string x-ms-docs-key-type: openShiftChangeRequest requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShiftChangeRequest' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShiftChangeRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property openShiftChangeRequests for groups operationId: group.team.schedule_DeleteOpenShiftChangeRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: openShiftChangeRequest-id in: path description: The unique identifier of openShiftChangeRequest required: true style: simple schema: type: string x-ms-docs-key-type: openShiftChangeRequest - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/openShiftChangeRequests/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.schedule.openShiftChangeRequest_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/schedule/openShifts': get: tags: - groups.team summary: Get openShifts from groups description: The set of open shifts in a scheduling group in the schedule. operationId: group.team.schedule_ListOpenShift parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.openShiftCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to openShifts for groups operationId: group.team.schedule_CreateOpenShift parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShift' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShift' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/openShifts/{openShift-id}': get: tags: - groups.team summary: Get openShifts from groups description: The set of open shifts in a scheduling group in the schedule. operationId: group.team.schedule_GetOpenShift parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: openShift-id in: path description: The unique identifier of openShift required: true style: simple schema: type: string x-ms-docs-key-type: openShift - 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.openShift' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property openShifts in groups operationId: group.team.schedule_UpdateOpenShift parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: openShift-id in: path description: The unique identifier of openShift required: true style: simple schema: type: string x-ms-docs-key-type: openShift requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShift' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShift' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property openShifts for groups operationId: group.team.schedule_DeleteOpenShift parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: openShift-id in: path description: The unique identifier of openShift required: true style: simple schema: type: string x-ms-docs-key-type: openShift - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/openShifts/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.schedule.openShift_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/schedule/schedulingGroups': get: tags: - groups.team summary: Get schedulingGroups from groups description: The logical grouping of users in the schedule (usually by role). operationId: group.team.schedule_ListSchedulingGroup parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.schedulingGroupCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to schedulingGroups for groups operationId: group.team.schedule_CreateSchedulingGroup parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.schedulingGroup' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.schedulingGroup' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/schedulingGroups/{schedulingGroup-id}': get: tags: - groups.team summary: Get schedulingGroups from groups description: The logical grouping of users in the schedule (usually by role). operationId: group.team.schedule_GetSchedulingGroup parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: schedulingGroup-id in: path description: The unique identifier of schedulingGroup required: true style: simple schema: type: string x-ms-docs-key-type: schedulingGroup - 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.schedulingGroup' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property schedulingGroups in groups operationId: group.team.schedule_UpdateSchedulingGroup parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: schedulingGroup-id in: path description: The unique identifier of schedulingGroup required: true style: simple schema: type: string x-ms-docs-key-type: schedulingGroup requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.schedulingGroup' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.schedulingGroup' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property schedulingGroups for groups operationId: group.team.schedule_DeleteSchedulingGroup parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: schedulingGroup-id in: path description: The unique identifier of schedulingGroup required: true style: simple schema: type: string x-ms-docs-key-type: schedulingGroup - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/schedulingGroups/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.schedule.schedulingGroup_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/schedule/shifts': get: tags: - groups.team summary: Get shifts from groups description: The shifts in the schedule. operationId: group.team.schedule_ListShift parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.shiftCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to shifts for groups operationId: group.team.schedule_CreateShift parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.shift' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.shift' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/shifts/{shift-id}': get: tags: - groups.team summary: Get shifts from groups description: The shifts in the schedule. operationId: group.team.schedule_GetShift parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: shift-id in: path description: The unique identifier of shift required: true style: simple schema: type: string x-ms-docs-key-type: shift - 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.shift' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property shifts in groups operationId: group.team.schedule_UpdateShift parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: shift-id in: path description: The unique identifier of shift required: true style: simple schema: type: string x-ms-docs-key-type: shift requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.shift' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.shift' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property shifts for groups operationId: group.team.schedule_DeleteShift parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: shift-id in: path description: The unique identifier of shift required: true style: simple schema: type: string x-ms-docs-key-type: shift - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/shifts/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.schedule.shift_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/schedule/swapShiftsChangeRequests': get: tags: - groups.team summary: Get swapShiftsChangeRequests from groups description: The swap requests for shifts in the schedule. operationId: group.team.schedule_ListSwapShiftsChangeRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.swapShiftsChangeRequestCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to swapShiftsChangeRequests for groups operationId: group.team.schedule_CreateSwapShiftsChangeRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.swapShiftsChangeRequest' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.swapShiftsChangeRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/swapShiftsChangeRequests/{swapShiftsChangeRequest-id}': get: tags: - groups.team summary: Get swapShiftsChangeRequests from groups description: The swap requests for shifts in the schedule. operationId: group.team.schedule_GetSwapShiftsChangeRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: swapShiftsChangeRequest-id in: path description: The unique identifier of swapShiftsChangeRequest required: true style: simple schema: type: string x-ms-docs-key-type: swapShiftsChangeRequest - 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.swapShiftsChangeRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property swapShiftsChangeRequests in groups operationId: group.team.schedule_UpdateSwapShiftsChangeRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: swapShiftsChangeRequest-id in: path description: The unique identifier of swapShiftsChangeRequest required: true style: simple schema: type: string x-ms-docs-key-type: swapShiftsChangeRequest requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.swapShiftsChangeRequest' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.swapShiftsChangeRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property swapShiftsChangeRequests for groups operationId: group.team.schedule_DeleteSwapShiftsChangeRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: swapShiftsChangeRequest-id in: path description: The unique identifier of swapShiftsChangeRequest required: true style: simple schema: type: string x-ms-docs-key-type: swapShiftsChangeRequest - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/swapShiftsChangeRequests/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.schedule.swapShiftsChangeRequest_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/schedule/timeCards': get: tags: - groups.team summary: Get timeCards from groups description: The time cards in the schedule. operationId: group.team.schedule_ListTimeCard parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.timeCardCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to timeCards for groups operationId: group.team.schedule_CreateTimeCard parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/timeCards/{timeCard-id}': get: tags: - groups.team summary: Get timeCards from groups description: The time cards in the schedule. operationId: group.team.schedule_GetTimeCard parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard - 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.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property timeCards in groups operationId: group.team.schedule_UpdateTimeCard parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property timeCards for groups operationId: group.team.schedule_DeleteTimeCard parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/timeCards/{timeCard-id}/microsoft.graph.clockOut': post: tags: - groups.team summary: Invoke action clockOut operationId: group.team.schedule.timeCard_clockOut parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard requestBody: description: Action parameters content: application/json: schema: type: object properties: isAtApprovedLocation: type: boolean default: false nullable: true notes: $ref: '#/components/schemas/microsoft.graph.itemBody' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/schedule/timeCards/{timeCard-id}/microsoft.graph.confirm': post: tags: - groups.team summary: Invoke action confirm description: Confirm a timeCard. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-1.0 operationId: group.team.schedule.timeCard_confirm parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/schedule/timeCards/{timeCard-id}/microsoft.graph.endBreak': post: tags: - groups.team summary: Invoke action endBreak operationId: group.team.schedule.timeCard_endBreak parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard requestBody: description: Action parameters content: application/json: schema: type: object properties: isAtApprovedLocation: type: boolean default: false nullable: true notes: $ref: '#/components/schemas/microsoft.graph.itemBody' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/schedule/timeCards/{timeCard-id}/microsoft.graph.startBreak': post: tags: - groups.team summary: Invoke action startBreak operationId: group.team.schedule.timeCard_startBreak parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard requestBody: description: Action parameters content: application/json: schema: type: object properties: isAtApprovedLocation: type: boolean default: false nullable: true notes: $ref: '#/components/schemas/microsoft.graph.itemBody' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/schedule/timeCards/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.schedule.timeCard_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/schedule/timeCards/microsoft.graph.clockIn': post: tags: - groups.team summary: Invoke action clockIn description: Clock in to start a timeCard. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/timecard-clockin?view=graph-rest-1.0 operationId: group.team.schedule.timeCard_clockIn parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: Action parameters content: application/json: schema: type: object properties: isAtApprovedLocation: type: boolean default: false nullable: true onBehalfOfUserId: type: string nullable: true notes: $ref: '#/components/schemas/microsoft.graph.itemBody' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/groups/{group-id}/team/schedule/timeOffReasons': get: tags: - groups.team summary: Get timeOffReasons from groups description: The set of reasons for a time off in the schedule. operationId: group.team.schedule_ListTimeOffReason parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.timeOffReasonCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to timeOffReasons for groups operationId: group.team.schedule_CreateTimeOffReason parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffReason' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffReason' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/timeOffReasons/{timeOffReason-id}': get: tags: - groups.team summary: Get timeOffReasons from groups description: The set of reasons for a time off in the schedule. operationId: group.team.schedule_GetTimeOffReason parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: timeOffReason-id in: path description: The unique identifier of timeOffReason required: true style: simple schema: type: string x-ms-docs-key-type: timeOffReason - 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.timeOffReason' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property timeOffReasons in groups operationId: group.team.schedule_UpdateTimeOffReason parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: timeOffReason-id in: path description: The unique identifier of timeOffReason required: true style: simple schema: type: string x-ms-docs-key-type: timeOffReason requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffReason' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffReason' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property timeOffReasons for groups operationId: group.team.schedule_DeleteTimeOffReason parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: timeOffReason-id in: path description: The unique identifier of timeOffReason required: true style: simple schema: type: string x-ms-docs-key-type: timeOffReason - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/timeOffReasons/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.schedule.timeOffReason_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/schedule/timeOffRequests': get: tags: - groups.team summary: Get timeOffRequests from groups description: The time off requests in the schedule. operationId: group.team.schedule_ListTimeOffRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.timeOffRequestCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to timeOffRequests for groups operationId: group.team.schedule_CreateTimeOffRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffRequest' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/timeOffRequests/{timeOffRequest-id}': get: tags: - groups.team summary: Get timeOffRequests from groups description: The time off requests in the schedule. operationId: group.team.schedule_GetTimeOffRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: timeOffRequest-id in: path description: The unique identifier of timeOffRequest required: true style: simple schema: type: string x-ms-docs-key-type: timeOffRequest - 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.timeOffRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property timeOffRequests in groups operationId: group.team.schedule_UpdateTimeOffRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: timeOffRequest-id in: path description: The unique identifier of timeOffRequest required: true style: simple schema: type: string x-ms-docs-key-type: timeOffRequest requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffRequest' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property timeOffRequests for groups operationId: group.team.schedule_DeleteTimeOffRequest parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: timeOffRequest-id in: path description: The unique identifier of timeOffRequest required: true style: simple schema: type: string x-ms-docs-key-type: timeOffRequest - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/timeOffRequests/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.schedule.timeOffRequest_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/schedule/timesOff': get: tags: - groups.team summary: Get timesOff from groups description: The instances of times off in the schedule. operationId: group.team.schedule_ListTimesOff parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.timeOffCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to timesOff for groups operationId: group.team.schedule_CreateTimesOff parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOff' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOff' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/timesOff/{timeOff-id}': get: tags: - groups.team summary: Get timesOff from groups description: The instances of times off in the schedule. operationId: group.team.schedule_GetTimesOff parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: timeOff-id in: path description: The unique identifier of timeOff required: true style: simple schema: type: string x-ms-docs-key-type: timeOff - 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.timeOff' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property timesOff in groups operationId: group.team.schedule_UpdateTimesOff parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: timeOff-id in: path description: The unique identifier of timeOff required: true style: simple schema: type: string x-ms-docs-key-type: timeOff requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOff' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOff' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property timesOff for groups operationId: group.team.schedule_DeleteTimesOff parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: timeOff-id in: path description: The unique identifier of timeOff required: true style: simple schema: type: string x-ms-docs-key-type: timeOff - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/schedule/timesOff/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.schedule.timesOff_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/tags': get: tags: - groups.team summary: Get tags from groups description: The tags associated with the team. operationId: group.team_ListTag parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $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.teamworkTagCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to tags for groups operationId: group.team_CreateTag parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTag' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTag' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/tags/{teamworkTag-id}': get: tags: - groups.team summary: Get tags from groups description: The tags associated with the team. operationId: group.team_GetTag parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - 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.teamworkTag' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property tags in groups operationId: group.team_UpdateTag parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTag' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTag' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property tags for groups operationId: group.team_DeleteTag parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/tags/{teamworkTag-id}/members': get: tags: - groups.team summary: Get members from groups description: Users assigned to the tag. operationId: group.team.tag_ListMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - $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.teamworkTagMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - groups.team summary: Create new navigation property to members for groups operationId: group.team.tag_CreateMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTagMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTagMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/tags/{teamworkTag-id}/members/{teamworkTagMember-id}': get: tags: - groups.team summary: Get members from groups description: Users assigned to the tag. operationId: group.team.tag_GetMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - name: teamworkTagMember-id in: path description: The unique identifier of teamworkTagMember required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTagMember - 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.teamworkTagMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - groups.team summary: Update the navigation property members in groups operationId: group.team.tag_UpdateMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - name: teamworkTagMember-id in: path description: The unique identifier of teamworkTagMember required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTagMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTagMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTagMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - groups.team summary: Delete navigation property members for groups operationId: group.team.tag_DeleteMember parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - name: teamworkTagMember-id in: path description: The unique identifier of teamworkTagMember required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTagMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/groups/{group-id}/team/tags/{teamworkTag-id}/members/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.tag.member_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/tags/$count': get: tags: - groups.team summary: Get the number of the resource operationId: group.team.tag_GetCount parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/groups/{group-id}/team/template': get: tags: - groups.team summary: Get template from groups description: The template this team was created from. See available templates. operationId: group.team_GetTemplate parameters: - name: group-id in: path description: The unique identifier of group required: true style: simple schema: type: string x-ms-docs-key-type: group - 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.teamsTemplate' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation /teams: get: tags: - teams.team summary: List teams description: List all teams in an organization. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teams-list?view=graph-rest-1.0 operationId: team_ListTeam 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.teamCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.team summary: Create team description: Create a new team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-post?view=graph-rest-1.0 operationId: team_CreateTeam requestBody: description: New entity content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.team' required: true responses: 2XX: description: Created entity content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.team' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}': get: tags: - teams.team summary: Get team description: Retrieve the properties and relationships of the specified team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-get?view=graph-rest-1.0 operationId: team_GetTeam parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - 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.team' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.team summary: Update team description: Update the properties of the specified team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-update?view=graph-rest-1.0 operationId: team_UpdateTeam parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.team' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.team' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.team summary: Delete entity from teams operationId: team_DeleteTeam parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/allChannels': get: tags: - teams.channel summary: List allChannels description: Get the list of channels either in this team or shared with this team (incoming channels). externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-list-allchannels?view=graph-rest-1.0 operationId: team_ListAllChannel parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.channelCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/teams/{team-id}/allChannels/{channel-id}': get: tags: - teams.channel summary: Get allChannels from teams description: List of channels either hosted in or shared with the team (incoming channels). operationId: team_GetAllChannel parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - 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.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/allChannels/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.allChannel_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/channels': get: tags: - teams.channel summary: List channels description: Retrieve the list of channels in this team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-list?view=graph-rest-1.0 operationId: team_ListChannel parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.channelCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.channel summary: Create channel description: 'Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel''s displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you''re creating a private channel, you can add a maximum of 200 members.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-post?view=graph-rest-1.0 operationId: team_CreateChannel parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}': get: tags: - teams.channel summary: Get channel description: Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-get?view=graph-rest-1.0 operationId: team_GetChannel parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - 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.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.channel summary: Patch channel description: Update the properties of the specified channel. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-patch?view=graph-rest-1.0 operationId: team_UpdateChannel parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.channel summary: Delete channel description: Delete the channel. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-delete?view=graph-rest-1.0 operationId: team_DeleteChannel parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/allMembers': get: tags: - teams.channel summary: List allMembers description: 'Get a list of all members in a channel. This API supports all channel types, including shared channels. For shared channels, the response includes:' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-list-allmembers?view=graph-rest-1.0 operationId: team.channel_ListAllMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.channel summary: Create new navigation property to allMembers for teams operationId: team.channel_CreateAllMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/allMembers/{conversationMember-id}': get: tags: - teams.channel summary: Get allMembers from teams description: 'A collection of membership records associated with the channel, including both direct and indirect members of shared channels.' operationId: team.channel_GetAllMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.channel summary: Update the navigation property allMembers in teams operationId: team.channel_UpdateAllMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.channel summary: Delete navigation property allMembers for teams operationId: team.channel_DeleteAllMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/allMembers/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.channel.allMember_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/channels/{channel-id}/allMembers/microsoft.graph.add': post: tags: - teams.channel summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: team.channel.allMember_add parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teams/{team-id}/channels/{channel-id}/allMembers/microsoft.graph.remove': post: tags: - teams.channel summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: team.channel.allMember_remove parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teams/{team-id}/channels/{channel-id}/enabledApps': get: tags: - teams.channel summary: List enabledApps description: Get a list of the enabled apps in the specified channel within a team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-list-enabledapps?view=graph-rest-1.0 operationId: team.channel_ListEnabledApp parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.teamsAppCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/enabledApps/{teamsApp-id}': get: tags: - teams.channel summary: Get teamsApp description: Get an enabled app in the specified channel within a team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamsapp-get?view=graph-rest-1.0 operationId: team.channel_GetEnabledApp parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/enabledApps/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.channel.enabledApp_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/channels/{channel-id}/filesFolder': get: tags: - teams.channel summary: Get filesFolder description: 'Get the metadata for the location where the files of a channel are stored. ' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-get-filesfolder?view=graph-rest-1.0 operationId: team.channel_GetFilesFolder parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - 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.driveItem' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/filesFolder/content': get: tags: - teams.channel summary: Get content for the navigation property filesFolder from teams description: 'The content stream, if the item represents a file.' operationId: team.channel_GetFilesFolderContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: $format in: query description: Format of the content style: form explode: false schema: type: string responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - teams.channel summary: Update content for the navigation property filesFolder in teams description: 'The content stream, if the item represents a file.' operationId: team.channel_SetFilesFolderContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.driveItem' default: $ref: '#/components/responses/error' delete: tags: - teams.channel summary: Delete content for the navigation property filesFolder in teams description: 'The content stream, if the item represents a file.' operationId: team.channel_DeleteFilesFolderContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/teams/{team-id}/channels/{channel-id}/members': get: tags: - teams.channel summary: List members of a channel description: 'Get a list of members in a channel, including direct members of standard, private, and shared channels. Use the List allMembers API to retrieve both direct and indirect members of a shared channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-list-members?view=graph-rest-1.0 operationId: team.channel_ListMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.channel summary: Add member to channel description: Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 operationId: team.channel_CreateMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/members/{conversationMember-id}': get: tags: - teams.channel summary: Get member of channel description: Get a conversationMember from a channel. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-get-members?view=graph-rest-1.0 operationId: team.channel_GetMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.channel summary: Update member in channel description: Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 operationId: team.channel_UpdateMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.channel summary: Remove member from channel description: Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 operationId: team.channel_DeleteMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/members/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.channel.member_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/channels/{channel-id}/members/microsoft.graph.add': post: tags: - teams.channel summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: team.channel.member_add parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teams/{team-id}/channels/{channel-id}/members/microsoft.graph.remove': post: tags: - teams.channel summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: team.channel.member_remove parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teams/{team-id}/channels/{channel-id}/messages': get: tags: - teams.channel summary: List channel messages description: 'Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel).' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-list-messages?view=graph-rest-1.0 operationId: team.channel_ListMessage parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.channel summary: Send chatMessage in channel description: Send a new chatMessage in the specified channel. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 operationId: team.channel_CreateMessage parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}': get: tags: - teams.channel summary: Get chatMessage in a channel or chat description: Retrieve a single message or a message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 operationId: team.channel_GetMessage parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.channel summary: Update chatMessage description: "Update a chatMessage object. \r\nExcept for the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.\r\nOnly the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-update?view=graph-rest-1.0 operationId: team.channel_UpdateMessage parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.channel summary: Delete navigation property messages for teams operationId: team.channel_DeleteMessage parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents': get: tags: - teams.channel summary: List hostedContents description: 'Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 operationId: team.channel.message_ListHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.channel summary: Create new navigation property to hostedContents for teams operationId: team.channel.message_CreateHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}': get: tags: - teams.channel summary: Get hostedContents from teams description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: team.channel.message_GetHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.channel summary: Update the navigation property hostedContents in teams operationId: team.channel.message_UpdateHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.channel summary: Delete navigation property hostedContents for teams operationId: team.channel.message_DeleteHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - teams.channel summary: List hostedContents description: 'Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 operationId: team.channel.message_GetHostedContentsContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - teams.channel summary: Update media content for the navigation property hostedContents in teams description: The unique identifier for an entity. Read-only. operationId: team.channel.message_SetHostedContentsContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - teams.channel summary: Delete media content for the navigation property hostedContents in teams description: The unique identifier for an entity. Read-only. operationId: team.channel.message_DeleteHostedContentsContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.channel.message.hostedContent_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/microsoft.graph.setReaction': post: tags: - teams.channel summary: Invoke action setReaction operationId: team.channel.message_setReaction parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/microsoft.graph.softDelete': post: tags: - teams.channel summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: team.channel.message_softDelete parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/microsoft.graph.undoSoftDelete': post: tags: - teams.channel summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: team.channel.message_undoSoftDelete parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/microsoft.graph.unsetReaction': post: tags: - teams.channel summary: Invoke action unsetReaction operationId: team.channel.message_unsetReaction parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies': get: tags: - teams.channel summary: List replies description: 'List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 operationId: team.channel.message_ListReply parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.channel summary: Reply to a message in a channel description: Create a new reply to a chatMessage in a specified channel. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 operationId: team.channel.message_CreateReply parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}': get: tags: - teams.channel summary: Get chatMessage in a channel or chat description: Retrieve a single message or a message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 operationId: team.channel.message_GetReply parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.channel summary: Update the navigation property replies in teams operationId: team.channel.message_UpdateReply parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.channel summary: Delete navigation property replies for teams operationId: team.channel.message_DeleteReply parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents': get: tags: - teams.channel summary: List hostedContents description: 'Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 operationId: team.channel.message.reply_ListHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.channel summary: Create new navigation property to hostedContents for teams operationId: team.channel.message.reply_CreateHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}': get: tags: - teams.channel summary: Get hostedContents from teams description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: team.channel.message.reply_GetHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.channel summary: Update the navigation property hostedContents in teams operationId: team.channel.message.reply_UpdateHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.channel summary: Delete navigation property hostedContents for teams operationId: team.channel.message.reply_DeleteHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - teams.channel summary: List hostedContents description: 'Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 operationId: team.channel.message.reply_GetHostedContentsContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - teams.channel summary: Update media content for the navigation property hostedContents in teams description: The unique identifier for an entity. Read-only. operationId: team.channel.message.reply_SetHostedContentsContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - teams.channel summary: Delete media content for the navigation property hostedContents in teams description: The unique identifier for an entity. Read-only. operationId: team.channel.message.reply_DeleteHostedContentsContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.channel.message.reply.hostedContent_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.setReaction': post: tags: - teams.channel summary: Invoke action setReaction operationId: team.channel.message.reply_setReaction parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.softDelete': post: tags: - teams.channel summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: team.channel.message.reply_softDelete parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.undoSoftDelete': post: tags: - teams.channel summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: team.channel.message.reply_undoSoftDelete parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.unsetReaction': post: tags: - teams.channel summary: Invoke action unsetReaction operationId: team.channel.message.reply_unsetReaction parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.channel.message.reply_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/microsoft.graph.delta()': get: tags: - teams.channel summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: team.channel.message.reply_delta parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/microsoft.graph.replyWithQuote': post: tags: - teams.channel summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: team.channel.message.reply_replyGraphWPreQuote parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/channels/{channel-id}/messages/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.channel.message_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/channels/{channel-id}/messages/microsoft.graph.delta()': get: tags: - teams.channel summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: team.channel.message_delta parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teams/{team-id}/channels/{channel-id}/messages/microsoft.graph.replyWithQuote': post: tags: - teams.channel summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: team.channel.message_replyGraphWPreQuote parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/channels/{channel-id}/microsoft.graph.archive': post: tags: - teams.channel summary: Invoke action archive description: 'Archive a channel in a team. When a channel is archived, users can''t send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can''t be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-1.0 operationId: team.channel_archive parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: shouldSetSpoSiteReadOnlyForMembers: type: boolean default: false nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/channels/{channel-id}/microsoft.graph.completeMigration': post: tags: - teams.channel summary: Invoke action completeMigration description: 'Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-completemigration?view=graph-rest-1.0 operationId: team.channel_completeMigration parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/channels/{channel-id}/microsoft.graph.doesUserHaveAccess(userId=''@userId'',tenantId=''@tenantId'',userPrincipalName=''@userPrincipalName'')': get: tags: - teams.channel summary: Invoke function doesUserHaveAccess description: Determine whether a user has access to a channel. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-doesuserhaveaccess?view=graph-rest-1.0 operationId: team.channel_doesUserHaveAccess parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: userId in: query description: 'Usage: userId=''@userId''' style: form explode: false schema: type: string nullable: true - name: tenantId in: query description: 'Usage: tenantId=''@tenantId''' style: form explode: false schema: type: string nullable: true - name: userPrincipalName in: query description: 'Usage: userPrincipalName=''@userPrincipalName''' style: form explode: false schema: type: string nullable: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: boolean default: false additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/teams/{team-id}/channels/{channel-id}/microsoft.graph.provisionEmail': post: tags: - teams.channel summary: Invoke action provisionEmail description: 'Provision an email address for a channel. Microsoft Teams doesn''t automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 operationId: team.channel_provisionEmail parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.provisionChannelEmailResult' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/channels/{channel-id}/microsoft.graph.removeEmail': post: tags: - teams.channel summary: Invoke action removeEmail description: Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-1.0 operationId: team.channel_removeEmail parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/channels/{channel-id}/microsoft.graph.startMigration': post: tags: - teams.channel summary: Invoke action startMigration description: 'Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-startmigration?view=graph-rest-1.0 operationId: team.channel_startMigration parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: conversationCreationDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/channels/{channel-id}/microsoft.graph.unarchive': post: tags: - teams.channel summary: Invoke action unarchive description: 'Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-1.0 operationId: team.channel_unarchive parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/channels/{channel-id}/sharedWithTeams': get: tags: - teams.channel summary: List sharedWithChannelTeamInfo description: Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 operationId: team.channel_ListSharedGraphWPreTeam parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.sharedWithChannelTeamInfoCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.channel summary: Create new navigation property to sharedWithTeams for teams operationId: team.channel_CreateSharedGraphWPreTeam parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}': get: tags: - teams.channel summary: Get sharedWithChannelTeamInfo description: Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 operationId: team.channel_GetSharedGraphWPreTeam parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - 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.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.channel summary: Update the navigation property sharedWithTeams in teams operationId: team.channel_UpdateSharedGraphWPreTeam parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.channel summary: Delete sharedWithChannelTeamInfo description: Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 operationId: team.channel_DeleteSharedGraphWPreTeam parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers': get: tags: - teams.channel summary: List allowedMembers description: "Get the list of conversationMembers who can access a shared channel. This method doesn't return the following conversationMembers from the team:\r\n- Users with Guest role\r\n- Users who are externally authenticated in the tenant" externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 operationId: team.channel.sharedGraphWPreTeam_ListAllowedMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers/{conversationMember-id}': get: tags: - teams.channel summary: Get allowedMembers from teams description: A collection of team members who have access to the shared channel. operationId: team.channel.sharedGraphWPreTeam_GetAllowedMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.channel.sharedGraphWPreTeam.allowedMember_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}/team': get: tags: - teams.channel summary: Get team from teams operationId: team.channel.sharedGraphWPreTeam_GetTeam parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/sharedWithTeams/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.channel.sharedGraphWPreTeam_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/channels/{channel-id}/tabs': get: tags: - teams.channel summary: List tabs in channel description: 'Retrieve the list of tabs in the specified channel within a team. ' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-list-tabs?view=graph-rest-1.0 operationId: team.channel_ListTab parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.teamsTabCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.channel summary: Add tab to channel description: Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-post-tabs?view=graph-rest-1.0 operationId: team.channel_CreateTab parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/tabs/{teamsTab-id}': get: tags: - teams.channel summary: Get tab description: 'Retrieve the properties and relationships of the specified tab in a channel within a team. ' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-get-tabs?view=graph-rest-1.0 operationId: team.channel_GetTab parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - 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.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.channel summary: Update tab description: "Update the properties of the specified tab.\r\nThis API can be used to configure the content of the tab." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-patch-tabs?view=graph-rest-1.0 operationId: team.channel_UpdateTab parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.channel summary: Delete tab from channel description: 'Removes (unpins) a tab from the specified channel within a team. ' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-delete-tabs?view=graph-rest-1.0 operationId: team.channel_DeleteTab parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/tabs/{teamsTab-id}/teamsApp': get: tags: - teams.channel summary: Get teamsApp from teams description: The application that is linked to the tab. This can't be changed after tab creation. operationId: team.channel.tab_GetTeamsApp parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/channels/{channel-id}/tabs/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.channel.tab_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/channels/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.channel_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/channels/microsoft.graph.getAllMessages()': get: tags: - teams.channel summary: Invoke function getAllMessages description: 'Retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-getallmessages?view=graph-rest-1.0 operationId: team.channel_getAllMessage parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: model in: query description: The payment model for the API style: form explode: false schema: type: string - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teams/{team-id}/channels/microsoft.graph.getAllRetainedMessages()': get: tags: - teams.channel summary: Invoke function getAllRetainedMessages description: 'Get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-getallretainedmessages?view=graph-rest-1.0 operationId: team.channel_getAllRetainedMessage parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teams/{team-id}/group': get: tags: - teams.group summary: Get group from teams operationId: team_GetGroup parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - 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.group' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/group/serviceProvisioningErrors': get: tags: - teams.group summary: Get serviceProvisioningErrors property value description: 'Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a group object. Supports $filter (eq, not, for isResolved and serviceInstance).' operationId: team.group_ListServiceProvisioningError parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.serviceProvisioningErrorCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teams/{team-id}/group/serviceProvisioningErrors/$count': get: tags: - teams.group summary: Get the number of the resource operationId: team.group.ServiceProvisioningError_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/incomingChannels': get: tags: - teams.channel summary: List incomingChannels description: Get the list of incoming channels (channels shared with a team). externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-list-incomingchannels?view=graph-rest-1.0 operationId: team_ListIncomingChannel parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.channelCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/teams/{team-id}/incomingChannels/{channel-id}': get: tags: - teams.channel summary: Get incomingChannels from teams description: List of channels shared with the team. operationId: team_GetIncomingChannel parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - 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.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/incomingChannels/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.incomingChannel_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/installedApps': get: tags: - teams.teamsAppInstallation summary: List apps in team description: Retrieve a list of apps installed in the specified team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-list-installedapps?view=graph-rest-1.0 operationId: team_ListInstalledApp parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.teamsAppInstallationCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.teamsAppInstallation summary: Add app to team description: Install an app to the specified team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-post-installedapps?view=graph-rest-1.0 operationId: team_CreateInstalledApp parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/installedApps/{teamsAppInstallation-id}': get: tags: - teams.teamsAppInstallation summary: Get installed app in team description: Retrieve the app installed in the specified team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-get-installedapps?view=graph-rest-1.0 operationId: team_GetInstalledApp parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - 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.teamsAppInstallation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.teamsAppInstallation summary: Update the navigation property installedApps in teams operationId: team_UpdateInstalledApp parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.teamsAppInstallation summary: Remove app from team description: Uninstalls an app from the specified team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-delete-installedapps?view=graph-rest-1.0 operationId: team_DeleteInstalledApp parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/installedApps/{teamsAppInstallation-id}/microsoft.graph.upgrade': post: tags: - teams.teamsAppInstallation summary: Invoke action upgrade description: Upgrade an app installation within a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-1.0 operationId: team.installedApp_upgrade parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation requestBody: description: Action parameters content: application/json: schema: type: object properties: consentedPermissionSet: $ref: '#/components/schemas/microsoft.graph.teamsAppPermissionSet' additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/installedApps/{teamsAppInstallation-id}/teamsApp': get: tags: - teams.teamsAppInstallation summary: Get teamsApp from teams description: The app that is installed. operationId: team.installedApp_GetTeamsApp parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/installedApps/{teamsAppInstallation-id}/teamsAppDefinition': get: tags: - teams.teamsAppInstallation summary: Get teamsAppDefinition from teams description: The details of this version of the app. operationId: team.installedApp_GetTeamsAppDefinition parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/installedApps/$count': get: tags: - teams.teamsAppInstallation summary: Get the number of the resource operationId: team.installedApp_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/members': get: tags: - teams.conversationMember summary: List members of team description: 'Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client shouldn''t try to parse or make assumptions about these resource IDs. In the future, membership results can include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-list-members?view=graph-rest-1.0 operationId: team_ListMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.conversationMember summary: Add member to team description: Add a new conversationMember to a team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-post-members?view=graph-rest-1.0 operationId: team_CreateMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/members/{conversationMember-id}': get: tags: - teams.conversationMember summary: Get member of team description: Get a conversationMember from a team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-get-members?view=graph-rest-1.0 operationId: team_GetMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.conversationMember summary: Update member in team description: Update the role of a conversationMember in a team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-update-members?view=graph-rest-1.0 operationId: team_UpdateMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.conversationMember summary: Remove member from team description: Remove a conversationMember from a team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-delete-members?view=graph-rest-1.0 operationId: team_DeleteMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/members/$count': get: tags: - teams.conversationMember summary: Get the number of the resource operationId: team.member_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/members/microsoft.graph.add': post: tags: - teams.conversationMember summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: team.member_add parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teams/{team-id}/members/microsoft.graph.remove': post: tags: - teams.conversationMember summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: team.member_remove parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teams/{team-id}/microsoft.graph.archive': post: tags: - teams.team.Actions summary: Invoke action archive description: "Archive the specified team. \r\nWhen a team is archived, users can no longer make most changes to the team. For example, users can no longer: send or like messages on any channel in the team; edit the team's name or description; nor edit other settings. However, membership changes to the team are still allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which might occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-archive?view=graph-rest-1.0 operationId: team_archive parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: shouldSetSpoSiteReadOnlyForMembers: type: boolean default: false nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/microsoft.graph.clone': post: tags: - teams.team.Actions summary: Invoke action clone description: "Create a copy of a team. This operation also creates a copy of the corresponding group.\r\nYou can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. \r\nIf the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-clone?view=graph-rest-1.0 operationId: team_clone parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: displayName: type: string nullable: true description: type: string nullable: true mailNickname: type: string nullable: true classification: type: string nullable: true visibility: $ref: '#/components/schemas/microsoft.graph.teamVisibilityType' partsToClone: $ref: '#/components/schemas/microsoft.graph.clonableTeamParts' additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/microsoft.graph.completeMigration': post: tags: - teams.team.Actions summary: Invoke action completeMigration description: 'Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can''t import additional messages into the team. You can add members to the team after the request returns a successful response.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-completemigration?view=graph-rest-1.0 operationId: team_completeMigration parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/microsoft.graph.sendActivityNotification': post: tags: - teams.team.Actions summary: Invoke action sendActivityNotification description: "Send an activity feed notification in the scope of a team. For more information about sending notifications and the requirements for doing so, see\r\nsending Teams activity notifications." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-sendactivitynotification?view=graph-rest-1.0 operationId: team_sendActivityNotification parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: topic: $ref: '#/components/schemas/microsoft.graph.teamworkActivityTopic' activityType: type: string nullable: true chainId: type: number format: int64 nullable: true previewText: $ref: '#/components/schemas/microsoft.graph.itemBody' teamsAppId: type: string nullable: true templateParameters: type: array items: $ref: '#/components/schemas/microsoft.graph.keyValuePair' recipient: $ref: '#/components/schemas/microsoft.graph.teamworkNotificationRecipient' iconId: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/microsoft.graph.unarchive': post: tags: - teams.team.Actions summary: Invoke action unarchive description: 'Restore an archived team. This API restores users'' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-1.0 operationId: team_unarchive parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/operations': get: tags: - teams.teamsAsyncOperation summary: Get operations from teams description: The async operations that ran or are running on this team. operationId: team_ListOperation parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.teamsAsyncOperationCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.teamsAsyncOperation summary: Create new navigation property to operations for teams operationId: team_CreateOperation parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAsyncOperation' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAsyncOperation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/operations/{teamsAsyncOperation-id}': get: tags: - teams.teamsAsyncOperation summary: Get operations from teams description: The async operations that ran or are running on this team. operationId: team_GetOperation parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsAsyncOperation-id in: path description: The unique identifier of teamsAsyncOperation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAsyncOperation - 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.teamsAsyncOperation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.teamsAsyncOperation summary: Update the navigation property operations in teams operationId: team_UpdateOperation parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsAsyncOperation-id in: path description: The unique identifier of teamsAsyncOperation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAsyncOperation requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAsyncOperation' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAsyncOperation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.teamsAsyncOperation summary: Delete navigation property operations for teams operationId: team_DeleteOperation parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsAsyncOperation-id in: path description: The unique identifier of teamsAsyncOperation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAsyncOperation - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/operations/$count': get: tags: - teams.teamsAsyncOperation summary: Get the number of the resource operationId: team.operation_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/permissionGrants': get: tags: - teams.resourceSpecificPermissionGrant summary: List permissionGrants of a team description: 'List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app''s corresponding type of resource-specific access.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-list-permissiongrants?view=graph-rest-1.0 operationId: team_ListPermissionGrant parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.resourceSpecificPermissionGrantCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.resourceSpecificPermissionGrant summary: Create new navigation property to permissionGrants for teams operationId: team_CreatePermissionGrant parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/permissionGrants/{resourceSpecificPermissionGrant-id}': get: tags: - teams.resourceSpecificPermissionGrant summary: Get permissionGrants from teams description: A collection of permissions granted to apps to access the team. operationId: team_GetPermissionGrant parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: resourceSpecificPermissionGrant-id in: path description: The unique identifier of resourceSpecificPermissionGrant required: true style: simple schema: type: string x-ms-docs-key-type: resourceSpecificPermissionGrant - 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.resourceSpecificPermissionGrant' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.resourceSpecificPermissionGrant summary: Update the navigation property permissionGrants in teams operationId: team_UpdatePermissionGrant parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: resourceSpecificPermissionGrant-id in: path description: The unique identifier of resourceSpecificPermissionGrant required: true style: simple schema: type: string x-ms-docs-key-type: resourceSpecificPermissionGrant requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.resourceSpecificPermissionGrant summary: Delete navigation property permissionGrants for teams operationId: team_DeletePermissionGrant parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: resourceSpecificPermissionGrant-id in: path description: The unique identifier of resourceSpecificPermissionGrant required: true style: simple schema: type: string x-ms-docs-key-type: resourceSpecificPermissionGrant - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/permissionGrants/$count': get: tags: - teams.resourceSpecificPermissionGrant summary: Get the number of the resource operationId: team.permissionGrant_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/photo': get: tags: - teams.profilePhoto summary: Get profilePhoto description: "Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,\r\n360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.\r\nIf the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.\r\nFor example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/profilephoto-get?view=graph-rest-1.0 operationId: team_GetPhoto parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - 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.profilePhoto' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.profilePhoto summary: Update profilePhoto description: 'Update the photo for the specified contact, group, team, or user in a tenant. The size of the photo you can update to is limited to 4 MB. You can use either PATCH or PUT for this operation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/profilephoto-update?view=graph-rest-1.0 operationId: team_UpdatePhoto parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.profilePhoto' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.profilePhoto' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/photo/$value': get: tags: - teams.profilePhoto summary: Get profilePhoto description: "Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,\r\n360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.\r\nIf the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.\r\nFor example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/profilephoto-get?view=graph-rest-1.0 operationId: team_GetPhotoContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - teams.profilePhoto summary: Update profilePhoto description: 'Update the photo for the specified contact, group, team, or user in a tenant. The size of the photo you can update to is limited to 4 MB. You can use either PATCH or PUT for this operation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/profilephoto-update?view=graph-rest-1.0 operationId: team_SetPhotoContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - teams.profilePhoto summary: Delete media content for the navigation property photo in teams description: The profile photo for the team. operationId: team_DeletePhotoContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/teams/{team-id}/primaryChannel': get: tags: - teams.channel summary: Get primaryChannel description: 'Get the default channel, General, of a team.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-get-primarychannel?view=graph-rest-1.0 operationId: team_GetPrimaryChannel parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - 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.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.channel summary: Update the navigation property primaryChannel in teams operationId: team_UpdatePrimaryChannel parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.channel summary: Delete navigation property primaryChannel for teams operationId: team_DeletePrimaryChannel parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/allMembers': get: tags: - teams.channel summary: Get allMembers from teams description: 'A collection of membership records associated with the channel, including both direct and indirect members of shared channels.' operationId: team.primaryChannel_ListAllMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.channel summary: Create new navigation property to allMembers for teams operationId: team.primaryChannel_CreateAllMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/allMembers/{conversationMember-id}': get: tags: - teams.channel summary: Get allMembers from teams description: 'A collection of membership records associated with the channel, including both direct and indirect members of shared channels.' operationId: team.primaryChannel_GetAllMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.channel summary: Update the navigation property allMembers in teams operationId: team.primaryChannel_UpdateAllMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.channel summary: Delete navigation property allMembers for teams operationId: team.primaryChannel_DeleteAllMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/allMembers/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.primaryChannel.allMember_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/primaryChannel/allMembers/microsoft.graph.add': post: tags: - teams.channel summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: team.primaryChannel.allMember_add parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teams/{team-id}/primaryChannel/allMembers/microsoft.graph.remove': post: tags: - teams.channel summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: team.primaryChannel.allMember_remove parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teams/{team-id}/primaryChannel/enabledApps': get: tags: - teams.channel summary: Get enabledApps from teams description: A collection of enabled apps in the channel. operationId: team.primaryChannel_ListEnabledApp parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.teamsAppCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/enabledApps/{teamsApp-id}': get: tags: - teams.channel summary: Get enabledApps from teams description: A collection of enabled apps in the channel. operationId: team.primaryChannel_GetEnabledApp parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/enabledApps/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.primaryChannel.enabledApp_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/primaryChannel/filesFolder': get: tags: - teams.channel summary: Get filesFolder from teams description: Metadata for the location where the channel's files are stored. operationId: team.primaryChannel_GetFilesFolder parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - 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.driveItem' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/filesFolder/content': get: tags: - teams.channel summary: Get content for the navigation property filesFolder from teams description: 'The content stream, if the item represents a file.' operationId: team.primaryChannel_GetFilesFolderContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: $format in: query description: Format of the content style: form explode: false schema: type: string responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - teams.channel summary: Update content for the navigation property filesFolder in teams description: 'The content stream, if the item represents a file.' operationId: team.primaryChannel_SetFilesFolderContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.driveItem' default: $ref: '#/components/responses/error' delete: tags: - teams.channel summary: Delete content for the navigation property filesFolder in teams description: 'The content stream, if the item represents a file.' operationId: team.primaryChannel_DeleteFilesFolderContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/teams/{team-id}/primaryChannel/members': get: tags: - teams.channel summary: Get members from teams description: A collection of membership records associated with the channel. operationId: team.primaryChannel_ListMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.channel summary: Create new navigation property to members for teams operationId: team.primaryChannel_CreateMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/members/{conversationMember-id}': get: tags: - teams.channel summary: Get members from teams description: A collection of membership records associated with the channel. operationId: team.primaryChannel_GetMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.channel summary: Update the navigation property members in teams operationId: team.primaryChannel_UpdateMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.channel summary: Delete navigation property members for teams operationId: team.primaryChannel_DeleteMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/members/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.primaryChannel.member_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/primaryChannel/members/microsoft.graph.add': post: tags: - teams.channel summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: team.primaryChannel.member_add parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teams/{team-id}/primaryChannel/members/microsoft.graph.remove': post: tags: - teams.channel summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: team.primaryChannel.member_remove parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teams/{team-id}/primaryChannel/messages': get: tags: - teams.channel summary: Get messages from teams description: A collection of all the messages in the channel. A navigation property. Nullable. operationId: team.primaryChannel_ListMessage parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.channel summary: Create new navigation property to messages for teams operationId: team.primaryChannel_CreateMessage parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}': get: tags: - teams.channel summary: Get messages from teams description: A collection of all the messages in the channel. A navigation property. Nullable. operationId: team.primaryChannel_GetMessage parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.channel summary: Update the navigation property messages in teams operationId: team.primaryChannel_UpdateMessage parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.channel summary: Delete navigation property messages for teams operationId: team.primaryChannel_DeleteMessage parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/hostedContents': get: tags: - teams.channel summary: Get hostedContents from teams description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: team.primaryChannel.message_ListHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.channel summary: Create new navigation property to hostedContents for teams operationId: team.primaryChannel.message_CreateHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}': get: tags: - teams.channel summary: Get hostedContents from teams description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: team.primaryChannel.message_GetHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.channel summary: Update the navigation property hostedContents in teams operationId: team.primaryChannel.message_UpdateHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.channel summary: Delete navigation property hostedContents for teams operationId: team.primaryChannel.message_DeleteHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - teams.channel summary: Get media content for the navigation property hostedContents from teams description: The unique identifier for an entity. Read-only. operationId: team.primaryChannel.message_GetHostedContentsContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - teams.channel summary: Update media content for the navigation property hostedContents in teams description: The unique identifier for an entity. Read-only. operationId: team.primaryChannel.message_SetHostedContentsContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - teams.channel summary: Delete media content for the navigation property hostedContents in teams description: The unique identifier for an entity. Read-only. operationId: team.primaryChannel.message_DeleteHostedContentsContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/hostedContents/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.primaryChannel.message.hostedContent_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/microsoft.graph.setReaction': post: tags: - teams.channel summary: Invoke action setReaction operationId: team.primaryChannel.message_setReaction parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/microsoft.graph.softDelete': post: tags: - teams.channel summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: team.primaryChannel.message_softDelete parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/microsoft.graph.undoSoftDelete': post: tags: - teams.channel summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: team.primaryChannel.message_undoSoftDelete parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/microsoft.graph.unsetReaction': post: tags: - teams.channel summary: Invoke action unsetReaction operationId: team.primaryChannel.message_unsetReaction parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies': get: tags: - teams.channel summary: Get replies from teams description: Replies for a specified message. Supports $expand for channel messages. operationId: team.primaryChannel.message_ListReply parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.channel summary: Create new navigation property to replies for teams operationId: team.primaryChannel.message_CreateReply parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}': get: tags: - teams.channel summary: Get replies from teams description: Replies for a specified message. Supports $expand for channel messages. operationId: team.primaryChannel.message_GetReply parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.channel summary: Update the navigation property replies in teams operationId: team.primaryChannel.message_UpdateReply parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.channel summary: Delete navigation property replies for teams operationId: team.primaryChannel.message_DeleteReply parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents': get: tags: - teams.channel summary: Get hostedContents from teams description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: team.primaryChannel.message.reply_ListHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.channel summary: Create new navigation property to hostedContents for teams operationId: team.primaryChannel.message.reply_CreateHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}': get: tags: - teams.channel summary: Get hostedContents from teams description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: team.primaryChannel.message.reply_GetHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.channel summary: Update the navigation property hostedContents in teams operationId: team.primaryChannel.message.reply_UpdateHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.channel summary: Delete navigation property hostedContents for teams operationId: team.primaryChannel.message.reply_DeleteHostedContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - teams.channel summary: Get media content for the navigation property hostedContents from teams description: The unique identifier for an entity. Read-only. operationId: team.primaryChannel.message.reply_GetHostedContentsContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - teams.channel summary: Update media content for the navigation property hostedContents in teams description: The unique identifier for an entity. Read-only. operationId: team.primaryChannel.message.reply_SetHostedContentsContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - teams.channel summary: Delete media content for the navigation property hostedContents in teams description: The unique identifier for an entity. Read-only. operationId: team.primaryChannel.message.reply_DeleteHostedContentsContent parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.primaryChannel.message.reply.hostedContent_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.setReaction': post: tags: - teams.channel summary: Invoke action setReaction operationId: team.primaryChannel.message.reply_setReaction parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.softDelete': post: tags: - teams.channel summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: team.primaryChannel.message.reply_softDelete parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.undoSoftDelete': post: tags: - teams.channel summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: team.primaryChannel.message.reply_undoSoftDelete parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.unsetReaction': post: tags: - teams.channel summary: Invoke action unsetReaction operationId: team.primaryChannel.message.reply_unsetReaction parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.primaryChannel.message.reply_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/microsoft.graph.delta()': get: tags: - teams.channel summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: team.primaryChannel.message.reply_delta parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/microsoft.graph.replyWithQuote': post: tags: - teams.channel summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: team.primaryChannel.message.reply_replyGraphWPreQuote parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/primaryChannel/messages/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.primaryChannel.message_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/primaryChannel/messages/microsoft.graph.delta()': get: tags: - teams.channel summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: team.primaryChannel.message_delta parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teams/{team-id}/primaryChannel/messages/microsoft.graph.replyWithQuote': post: tags: - teams.channel summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: team.primaryChannel.message_replyGraphWPreQuote parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/primaryChannel/microsoft.graph.archive': post: tags: - teams.channel summary: Invoke action archive description: 'Archive a channel in a team. When a channel is archived, users can''t send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can''t be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-1.0 operationId: team.primaryChannel_archive parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: shouldSetSpoSiteReadOnlyForMembers: type: boolean default: false nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/primaryChannel/microsoft.graph.completeMigration': post: tags: - teams.channel summary: Invoke action completeMigration description: 'Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-completemigration?view=graph-rest-1.0 operationId: team.primaryChannel_completeMigration parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/primaryChannel/microsoft.graph.doesUserHaveAccess(userId=''@userId'',tenantId=''@tenantId'',userPrincipalName=''@userPrincipalName'')': get: tags: - teams.channel summary: Invoke function doesUserHaveAccess description: Determine whether a user has access to a channel. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-doesuserhaveaccess?view=graph-rest-1.0 operationId: team.primaryChannel_doesUserHaveAccess parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: userId in: query description: 'Usage: userId=''@userId''' style: form explode: false schema: type: string nullable: true - name: tenantId in: query description: 'Usage: tenantId=''@tenantId''' style: form explode: false schema: type: string nullable: true - name: userPrincipalName in: query description: 'Usage: userPrincipalName=''@userPrincipalName''' style: form explode: false schema: type: string nullable: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: boolean default: false additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/teams/{team-id}/primaryChannel/microsoft.graph.provisionEmail': post: tags: - teams.channel summary: Invoke action provisionEmail description: 'Provision an email address for a channel. Microsoft Teams doesn''t automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 operationId: team.primaryChannel_provisionEmail parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.provisionChannelEmailResult' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/primaryChannel/microsoft.graph.removeEmail': post: tags: - teams.channel summary: Invoke action removeEmail description: Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-1.0 operationId: team.primaryChannel_removeEmail parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/primaryChannel/microsoft.graph.startMigration': post: tags: - teams.channel summary: Invoke action startMigration description: 'Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-startmigration?view=graph-rest-1.0 operationId: team.primaryChannel_startMigration parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: conversationCreationDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/primaryChannel/microsoft.graph.unarchive': post: tags: - teams.channel summary: Invoke action unarchive description: 'Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-1.0 operationId: team.primaryChannel_unarchive parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/primaryChannel/sharedWithTeams': get: tags: - teams.channel summary: Get sharedWithTeams from teams description: A collection of teams with which a channel is shared. operationId: team.primaryChannel_ListSharedGraphWPreTeam parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.sharedWithChannelTeamInfoCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.channel summary: Create new navigation property to sharedWithTeams for teams operationId: team.primaryChannel_CreateSharedGraphWPreTeam parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo-id}': get: tags: - teams.channel summary: Get sharedWithTeams from teams description: A collection of teams with which a channel is shared. operationId: team.primaryChannel_GetSharedGraphWPreTeam parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - 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.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.channel summary: Update the navigation property sharedWithTeams in teams operationId: team.primaryChannel_UpdateSharedGraphWPreTeam parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.channel summary: Delete navigation property sharedWithTeams for teams operationId: team.primaryChannel_DeleteSharedGraphWPreTeam parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers': get: tags: - teams.channel summary: Get allowedMembers from teams description: A collection of team members who have access to the shared channel. operationId: team.primaryChannel.sharedGraphWPreTeam_ListAllowedMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers/{conversationMember-id}': get: tags: - teams.channel summary: Get allowedMembers from teams description: A collection of team members who have access to the shared channel. operationId: team.primaryChannel.sharedGraphWPreTeam_GetAllowedMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.primaryChannel.sharedGraphWPreTeam.allowedMember_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo-id}/team': get: tags: - teams.channel summary: Get team from teams operationId: team.primaryChannel.sharedGraphWPreTeam_GetTeam parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/sharedWithTeams/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.primaryChannel.sharedGraphWPreTeam_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/primaryChannel/tabs': get: tags: - teams.channel summary: Get tabs from teams description: A collection of all the tabs in the channel. A navigation property. operationId: team.primaryChannel_ListTab parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.teamsTabCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.channel summary: Create new navigation property to tabs for teams operationId: team.primaryChannel_CreateTab parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/tabs/{teamsTab-id}': get: tags: - teams.channel summary: Get tabs from teams description: A collection of all the tabs in the channel. A navigation property. operationId: team.primaryChannel_GetTab parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - 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.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.channel summary: Update the navigation property tabs in teams operationId: team.primaryChannel_UpdateTab parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.channel summary: Delete navigation property tabs for teams operationId: team.primaryChannel_DeleteTab parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/tabs/{teamsTab-id}/teamsApp': get: tags: - teams.channel summary: Get teamsApp from teams description: The application that is linked to the tab. This can't be changed after tab creation. operationId: team.primaryChannel.tab_GetTeamsApp parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/primaryChannel/tabs/$count': get: tags: - teams.channel summary: Get the number of the resource operationId: team.primaryChannel.tab_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/schedule': get: tags: - teams.schedule summary: Get schedule description: "Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).\r\nWhen clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/schedule-get?view=graph-rest-1.0 operationId: team_GetSchedule parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - 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.schedule' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation put: tags: - teams.schedule summary: Create or replace schedule description: "Create or replace a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).\r\nWhen clients use the PUT method, if the schedule is provisioned, the operation replaces the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-put-schedule?view=graph-rest-1.0 operationId: team_SetSchedule parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.schedule' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.schedule' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.schedule summary: Delete navigation property schedule for teams operationId: team_DeleteSchedule parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/dayNotes': get: tags: - teams.schedule summary: Get dayNotes from teams description: The day notes in the schedule. operationId: team.schedule_ListDayNote parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.dayNoteCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.schedule summary: Create new navigation property to dayNotes for teams operationId: team.schedule_CreateDayNote parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.dayNote' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.dayNote' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/dayNotes/{dayNote-id}': get: tags: - teams.schedule summary: Get dayNotes from teams description: The day notes in the schedule. operationId: team.schedule_GetDayNote parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: dayNote-id in: path description: The unique identifier of dayNote required: true style: simple schema: type: string x-ms-docs-key-type: dayNote - 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.dayNote' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.schedule summary: Update the navigation property dayNotes in teams operationId: team.schedule_UpdateDayNote parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: dayNote-id in: path description: The unique identifier of dayNote required: true style: simple schema: type: string x-ms-docs-key-type: dayNote requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.dayNote' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.dayNote' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.schedule summary: Delete navigation property dayNotes for teams operationId: team.schedule_DeleteDayNote parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: dayNote-id in: path description: The unique identifier of dayNote required: true style: simple schema: type: string x-ms-docs-key-type: dayNote - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/dayNotes/$count': get: tags: - teams.schedule summary: Get the number of the resource operationId: team.schedule.dayNote_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/schedule/microsoft.graph.share': post: tags: - teams.schedule summary: Invoke action share description: 'Share a schedule time range with schedule members. This action makes the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers. Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/schedule-share?view=graph-rest-1.0 operationId: team.schedule_share parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: notifyTeam: type: boolean default: false nullable: true startDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time nullable: true endDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/schedule/offerShiftRequests': get: tags: - teams.schedule summary: List offerShiftRequest description: Retrieve the properties and relationships of all offerShiftRequest objects in a team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/offershiftrequest-list?view=graph-rest-1.0 operationId: team.schedule_ListOfferShiftRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.offerShiftRequestCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.schedule summary: Create offerShiftRequest description: Create an instance of an offerShiftRequest. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/offershiftrequest-post?view=graph-rest-1.0 operationId: team.schedule_CreateOfferShiftRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.offerShiftRequest' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.offerShiftRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/offerShiftRequests/{offerShiftRequest-id}': get: tags: - teams.schedule summary: Get offerShiftRequest description: Retrieve the properties and relationships of an offerShiftRequest object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/offershiftrequest-get?view=graph-rest-1.0 operationId: team.schedule_GetOfferShiftRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: offerShiftRequest-id in: path description: The unique identifier of offerShiftRequest required: true style: simple schema: type: string x-ms-docs-key-type: offerShiftRequest - 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.offerShiftRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.schedule summary: Update the navigation property offerShiftRequests in teams operationId: team.schedule_UpdateOfferShiftRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: offerShiftRequest-id in: path description: The unique identifier of offerShiftRequest required: true style: simple schema: type: string x-ms-docs-key-type: offerShiftRequest requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.offerShiftRequest' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.offerShiftRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.schedule summary: Delete navigation property offerShiftRequests for teams operationId: team.schedule_DeleteOfferShiftRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: offerShiftRequest-id in: path description: The unique identifier of offerShiftRequest required: true style: simple schema: type: string x-ms-docs-key-type: offerShiftRequest - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/offerShiftRequests/$count': get: tags: - teams.schedule summary: Get the number of the resource operationId: team.schedule.offerShiftRequest_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/schedule/openShiftChangeRequests': get: tags: - teams.schedule summary: List openShiftChangeRequests description: Retrieve a list of openShiftChangeRequest objects in a team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/openshiftchangerequest-list?view=graph-rest-1.0 operationId: team.schedule_ListOpenShiftChangeRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.openShiftChangeRequestCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.schedule summary: Create openShiftChangeRequest description: Create instance of an openShiftChangeRequest object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/openshiftchangerequest-post?view=graph-rest-1.0 operationId: team.schedule_CreateOpenShiftChangeRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShiftChangeRequest' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShiftChangeRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/openShiftChangeRequests/{openShiftChangeRequest-id}': get: tags: - teams.schedule summary: Get openShiftChangeRequest description: Retrieve the properties and relationships of an openShiftChangeRequest object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/openshiftchangerequest-get?view=graph-rest-1.0 operationId: team.schedule_GetOpenShiftChangeRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: openShiftChangeRequest-id in: path description: The unique identifier of openShiftChangeRequest required: true style: simple schema: type: string x-ms-docs-key-type: openShiftChangeRequest - 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.openShiftChangeRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.schedule summary: Update the navigation property openShiftChangeRequests in teams operationId: team.schedule_UpdateOpenShiftChangeRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: openShiftChangeRequest-id in: path description: The unique identifier of openShiftChangeRequest required: true style: simple schema: type: string x-ms-docs-key-type: openShiftChangeRequest requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShiftChangeRequest' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShiftChangeRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.schedule summary: Delete navigation property openShiftChangeRequests for teams operationId: team.schedule_DeleteOpenShiftChangeRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: openShiftChangeRequest-id in: path description: The unique identifier of openShiftChangeRequest required: true style: simple schema: type: string x-ms-docs-key-type: openShiftChangeRequest - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/openShiftChangeRequests/$count': get: tags: - teams.schedule summary: Get the number of the resource operationId: team.schedule.openShiftChangeRequest_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/schedule/openShifts': get: tags: - teams.schedule summary: List openShifts description: List openShift objects in a team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/openshift-list?view=graph-rest-1.0 operationId: team.schedule_ListOpenShift parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.openShiftCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.schedule summary: Create openShift description: Create an instance of an openShift object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/openshift-post?view=graph-rest-1.0 operationId: team.schedule_CreateOpenShift parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShift' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShift' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/openShifts/{openShift-id}': get: tags: - teams.schedule summary: Get openShift description: Retrieve the properties and relationships of an openshift object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/openshift-get?view=graph-rest-1.0 operationId: team.schedule_GetOpenShift parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: openShift-id in: path description: The unique identifier of openShift required: true style: simple schema: type: string x-ms-docs-key-type: openShift - 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.openShift' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.schedule summary: Update openShift description: Update the properties of an openShift object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/openshift-update?view=graph-rest-1.0 operationId: team.schedule_UpdateOpenShift parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: openShift-id in: path description: The unique identifier of openShift required: true style: simple schema: type: string x-ms-docs-key-type: openShift requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShift' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShift' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.schedule summary: Delete openShift description: Delete an openShift object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/openshift-delete?view=graph-rest-1.0 operationId: team.schedule_DeleteOpenShift parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: openShift-id in: path description: The unique identifier of openShift required: true style: simple schema: type: string x-ms-docs-key-type: openShift - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/openShifts/$count': get: tags: - teams.schedule summary: Get the number of the resource operationId: team.schedule.openShift_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/schedule/schedulingGroups': get: tags: - teams.schedule summary: List scheduleGroups description: Get the list of schedulingGroups in this schedule. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/schedule-list-schedulinggroups?view=graph-rest-1.0 operationId: team.schedule_ListSchedulingGroup parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.schedulingGroupCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.schedule summary: Create schedulingGroup description: Create a new schedulingGroup. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/schedule-post-schedulinggroups?view=graph-rest-1.0 operationId: team.schedule_CreateSchedulingGroup parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.schedulingGroup' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.schedulingGroup' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/schedulingGroups/{schedulingGroup-id}': get: tags: - teams.schedule summary: Get schedulingGroup description: Retrieve the properties and relationships of a schedulingGroup by ID. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/schedulinggroup-get?view=graph-rest-1.0 operationId: team.schedule_GetSchedulingGroup parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: schedulingGroup-id in: path description: The unique identifier of schedulingGroup required: true style: simple schema: type: string x-ms-docs-key-type: schedulingGroup - 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.schedulingGroup' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.schedule summary: Replace schedulingGroup description: 'Replace an existing schedulingGroup. If the specified schedulingGroup doesn''t exist, this method returns 404 Not found.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/schedulinggroup-put?view=graph-rest-1.0 operationId: team.schedule_UpdateSchedulingGroup parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: schedulingGroup-id in: path description: The unique identifier of schedulingGroup required: true style: simple schema: type: string x-ms-docs-key-type: schedulingGroup requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.schedulingGroup' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.schedulingGroup' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.schedule summary: Delete schedulingGroup description: "Mark a schedulingGroup as inactive by setting its isActive property.\r\nThis method doesn't remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/schedulinggroup-delete?view=graph-rest-1.0 operationId: team.schedule_DeleteSchedulingGroup parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: schedulingGroup-id in: path description: The unique identifier of schedulingGroup required: true style: simple schema: type: string x-ms-docs-key-type: schedulingGroup - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/schedulingGroups/$count': get: tags: - teams.schedule summary: Get the number of the resource operationId: team.schedule.schedulingGroup_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/schedule/shifts': get: tags: - teams.schedule summary: List shifts description: Get the list of shift instances in a schedule. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/schedule-list-shifts?view=graph-rest-1.0 operationId: team.schedule_ListShift parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.shiftCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.schedule summary: Create shift description: Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/schedule-post-shifts?view=graph-rest-1.0 operationId: team.schedule_CreateShift parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.shift' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.shift' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/shifts/{shift-id}': get: tags: - teams.schedule summary: Get shift description: Retrieve the properties and relationships of a shift object by ID. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/shift-get?view=graph-rest-1.0 operationId: team.schedule_GetShift parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: shift-id in: path description: The unique identifier of shift required: true style: simple schema: type: string x-ms-docs-key-type: shift - 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.shift' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.schedule summary: Replace shift description: 'Replace an existing shift. If the specified shift doesn''t exist, this method returns 404 Not found. The duration of a shift can''t be less than one minute or longer than 24 hours.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/shift-put?view=graph-rest-1.0 operationId: team.schedule_UpdateShift parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: shift-id in: path description: The unique identifier of shift required: true style: simple schema: type: string x-ms-docs-key-type: shift requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.shift' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.shift' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.schedule summary: Delete shift description: Delete a shift from the schedule. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/shift-delete?view=graph-rest-1.0 operationId: team.schedule_DeleteShift parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: shift-id in: path description: The unique identifier of shift required: true style: simple schema: type: string x-ms-docs-key-type: shift - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/shifts/$count': get: tags: - teams.schedule summary: Get the number of the resource operationId: team.schedule.shift_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/schedule/swapShiftsChangeRequests': get: tags: - teams.schedule summary: List swapShiftsChangeRequest description: Retrieve a list of swapShiftsChangeRequest objects in the team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/swapshiftschangerequest-list?view=graph-rest-1.0 operationId: team.schedule_ListSwapShiftsChangeRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.swapShiftsChangeRequestCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.schedule summary: Create swapShiftsChangeRequest description: Create an instance of a swapShiftsChangeRequest object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/swapshiftschangerequest-post?view=graph-rest-1.0 operationId: team.schedule_CreateSwapShiftsChangeRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.swapShiftsChangeRequest' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.swapShiftsChangeRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/swapShiftsChangeRequests/{swapShiftsChangeRequest-id}': get: tags: - teams.schedule summary: Get swapShiftsChangeRequest description: Retrieve the properties and relationships of a swapShiftsChangeRequest object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/swapshiftschangerequest-get?view=graph-rest-1.0 operationId: team.schedule_GetSwapShiftsChangeRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: swapShiftsChangeRequest-id in: path description: The unique identifier of swapShiftsChangeRequest required: true style: simple schema: type: string x-ms-docs-key-type: swapShiftsChangeRequest - 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.swapShiftsChangeRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.schedule summary: Update the navigation property swapShiftsChangeRequests in teams operationId: team.schedule_UpdateSwapShiftsChangeRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: swapShiftsChangeRequest-id in: path description: The unique identifier of swapShiftsChangeRequest required: true style: simple schema: type: string x-ms-docs-key-type: swapShiftsChangeRequest requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.swapShiftsChangeRequest' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.swapShiftsChangeRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.schedule summary: Delete navigation property swapShiftsChangeRequests for teams operationId: team.schedule_DeleteSwapShiftsChangeRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: swapShiftsChangeRequest-id in: path description: The unique identifier of swapShiftsChangeRequest required: true style: simple schema: type: string x-ms-docs-key-type: swapShiftsChangeRequest - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/swapShiftsChangeRequests/$count': get: tags: - teams.schedule summary: Get the number of the resource operationId: team.schedule.swapShiftsChangeRequest_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/schedule/timeCards': get: tags: - teams.schedule summary: List timeCard description: Retrieve a list of timeCard entries in a schedule. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/schedule-list-timecards?view=graph-rest-1.0 operationId: team.schedule_ListTimeCard parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.timeCardCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.schedule summary: Create timeCard description: Create a timeCard instance in a schedule. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/schedule-post-timecards?view=graph-rest-1.0 operationId: team.schedule_CreateTimeCard parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/timeCards/{timeCard-id}': get: tags: - teams.schedule summary: Get timeCards from teams description: The time cards in the schedule. operationId: team.schedule_GetTimeCard parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard - 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.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.schedule summary: Update the navigation property timeCards in teams operationId: team.schedule_UpdateTimeCard parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.schedule summary: Delete timeCard description: Delete a timeCard instance in a schedule. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/schedule-delete-timecards?view=graph-rest-1.0 operationId: team.schedule_DeleteTimeCard parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/timeCards/{timeCard-id}/microsoft.graph.clockOut': post: tags: - teams.schedule summary: Invoke action clockOut operationId: team.schedule.timeCard_clockOut parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard requestBody: description: Action parameters content: application/json: schema: type: object properties: isAtApprovedLocation: type: boolean default: false nullable: true notes: $ref: '#/components/schemas/microsoft.graph.itemBody' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/schedule/timeCards/{timeCard-id}/microsoft.graph.confirm': post: tags: - teams.schedule summary: Invoke action confirm description: Confirm a timeCard. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-1.0 operationId: team.schedule.timeCard_confirm parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/schedule/timeCards/{timeCard-id}/microsoft.graph.endBreak': post: tags: - teams.schedule summary: Invoke action endBreak operationId: team.schedule.timeCard_endBreak parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard requestBody: description: Action parameters content: application/json: schema: type: object properties: isAtApprovedLocation: type: boolean default: false nullable: true notes: $ref: '#/components/schemas/microsoft.graph.itemBody' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/schedule/timeCards/{timeCard-id}/microsoft.graph.startBreak': post: tags: - teams.schedule summary: Invoke action startBreak operationId: team.schedule.timeCard_startBreak parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard requestBody: description: Action parameters content: application/json: schema: type: object properties: isAtApprovedLocation: type: boolean default: false nullable: true notes: $ref: '#/components/schemas/microsoft.graph.itemBody' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/schedule/timeCards/$count': get: tags: - teams.schedule summary: Get the number of the resource operationId: team.schedule.timeCard_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/schedule/timeCards/microsoft.graph.clockIn': post: tags: - teams.schedule summary: Invoke action clockIn description: Clock in to start a timeCard. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/timecard-clockin?view=graph-rest-1.0 operationId: team.schedule.timeCard_clockIn parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: isAtApprovedLocation: type: boolean default: false nullable: true onBehalfOfUserId: type: string nullable: true notes: $ref: '#/components/schemas/microsoft.graph.itemBody' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teams/{team-id}/schedule/timeOffReasons': get: tags: - teams.schedule summary: List timeOffReasons description: Get the list of timeOffReasons in a schedule. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/schedule-list-timeoffreasons?view=graph-rest-1.0 operationId: team.schedule_ListTimeOffReason parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.timeOffReasonCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.schedule summary: Create timeOffReason description: Create a new timeOffReason. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/schedule-post-timeoffreasons?view=graph-rest-1.0 operationId: team.schedule_CreateTimeOffReason parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffReason' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffReason' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/timeOffReasons/{timeOffReason-id}': get: tags: - teams.schedule summary: Get timeOffReason description: Retrieve the properties and relationships of a timeOffReason object by ID. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/timeoffreason-get?view=graph-rest-1.0 operationId: team.schedule_GetTimeOffReason parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeOffReason-id in: path description: The unique identifier of timeOffReason required: true style: simple schema: type: string x-ms-docs-key-type: timeOffReason - 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.timeOffReason' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.schedule summary: Replace timeOffReason description: 'Replace an existing timeOffReason. If the specified timeOffReason doesn''t exist, this method returns 404 Not found.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/timeoffreason-put?view=graph-rest-1.0 operationId: team.schedule_UpdateTimeOffReason parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeOffReason-id in: path description: The unique identifier of timeOffReason required: true style: simple schema: type: string x-ms-docs-key-type: timeOffReason requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffReason' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffReason' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.schedule summary: Delete timeOffReason description: Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/timeoffreason-delete?view=graph-rest-1.0 operationId: team.schedule_DeleteTimeOffReason parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeOffReason-id in: path description: The unique identifier of timeOffReason required: true style: simple schema: type: string x-ms-docs-key-type: timeOffReason - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/timeOffReasons/$count': get: tags: - teams.schedule summary: Get the number of the resource operationId: team.schedule.timeOffReason_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/schedule/timeOffRequests': get: tags: - teams.schedule summary: List timeOffRequest description: Retrieve a list of timeOffRequest objects in the team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/timeoffrequest-list?view=graph-rest-1.0 operationId: team.schedule_ListTimeOffRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.timeOffRequestCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.schedule summary: Create timeOffRequest description: Create instance of a timeoffrequest object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/timeoffrequest-post?view=graph-rest-1.0 operationId: team.schedule_CreateTimeOffRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffRequest' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/timeOffRequests/{timeOffRequest-id}': get: tags: - teams.schedule summary: Get timeOffRequest description: Retrieve the properties and relationships of a timeoffrequest object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/timeoffrequest-get?view=graph-rest-1.0 operationId: team.schedule_GetTimeOffRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeOffRequest-id in: path description: The unique identifier of timeOffRequest required: true style: simple schema: type: string x-ms-docs-key-type: timeOffRequest - 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.timeOffRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.schedule summary: Update the navigation property timeOffRequests in teams operationId: team.schedule_UpdateTimeOffRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeOffRequest-id in: path description: The unique identifier of timeOffRequest required: true style: simple schema: type: string x-ms-docs-key-type: timeOffRequest requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffRequest' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.schedule summary: Delete timeOffRequest description: Delete a timeOffRequest object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/timeoffrequest-delete?view=graph-rest-1.0 operationId: team.schedule_DeleteTimeOffRequest parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeOffRequest-id in: path description: The unique identifier of timeOffRequest required: true style: simple schema: type: string x-ms-docs-key-type: timeOffRequest - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/timeOffRequests/$count': get: tags: - teams.schedule summary: Get the number of the resource operationId: team.schedule.timeOffRequest_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/schedule/timesOff': get: tags: - teams.schedule summary: List timesOff description: Get the list of timeOff instances in a schedule. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/schedule-list-timesoff?view=graph-rest-1.0 operationId: team.schedule_ListTimesOff parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.timeOffCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.schedule summary: Create timeOff description: Create a new timeOff instance in a schedule. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/schedule-post-timesoff?view=graph-rest-1.0 operationId: team.schedule_CreateTimesOff parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOff' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOff' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/timesOff/{timeOff-id}': get: tags: - teams.schedule summary: Get timeOff description: Retrieve the properties and relationships of a timeOff object by ID. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/timeoff-get?view=graph-rest-1.0 operationId: team.schedule_GetTimesOff parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeOff-id in: path description: The unique identifier of timeOff required: true style: simple schema: type: string x-ms-docs-key-type: timeOff - 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.timeOff' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.schedule summary: Replace timeOff description: 'Replace an existing timeOff object. If the specified timeOff object doesn''t exist, this method returns 404 Not found.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/timeoff-put?view=graph-rest-1.0 operationId: team.schedule_UpdateTimesOff parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeOff-id in: path description: The unique identifier of timeOff required: true style: simple schema: type: string x-ms-docs-key-type: timeOff requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOff' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOff' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.schedule summary: Delete timeOff description: Delete a timeOff instance from a schedule. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/timeoff-delete?view=graph-rest-1.0 operationId: team.schedule_DeleteTimesOff parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeOff-id in: path description: The unique identifier of timeOff required: true style: simple schema: type: string x-ms-docs-key-type: timeOff - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/schedule/timesOff/$count': get: tags: - teams.schedule summary: Get the number of the resource operationId: team.schedule.timesOff_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/tags': get: tags: - teams.teamworkTag summary: List teamworkTags description: Get a list of the tag objects and their properties. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamworktag-list?view=graph-rest-1.0 operationId: team_ListTag parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.teamworkTagCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.teamworkTag summary: Create teamworkTag description: Create a standard tag for members in a team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamworktag-post?view=graph-rest-1.0 operationId: team_CreateTag parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTag' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTag' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/tags/{teamworkTag-id}': get: tags: - teams.teamworkTag summary: Get teamworkTag description: Read the properties and relationships of a tag object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamworktag-get?view=graph-rest-1.0 operationId: team_GetTag parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - 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.teamworkTag' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.teamworkTag summary: Update teamworkTag description: Update the properties of a tag object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamworktag-update?view=graph-rest-1.0 operationId: team_UpdateTag parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTag' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTag' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.teamworkTag summary: Delete teamworkTag description: Delete a tag object permanently. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamworktag-delete?view=graph-rest-1.0 operationId: team_DeleteTag parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/tags/{teamworkTag-id}/members': get: tags: - teams.teamworkTag summary: List members in a teamworkTag description: Get a list of the members of a standard tag in a team and their properties. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamworktagmember-list?view=graph-rest-1.0 operationId: team.tag_ListMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - $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.teamworkTagMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teams.teamworkTag summary: Create teamworkTagMember description: Create a new teamworkTagMember object in a team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamworktagmember-post?view=graph-rest-1.0 operationId: team.tag_CreateMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTagMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTagMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/tags/{teamworkTag-id}/members/{teamworkTagMember-id}': get: tags: - teams.teamworkTag summary: Get teamworkTagMember description: Get the properties and relationships of a member of a standard tag in a team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamworktagmember-get?view=graph-rest-1.0 operationId: team.tag_GetMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - name: teamworkTagMember-id in: path description: The unique identifier of teamworkTagMember required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTagMember - 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.teamworkTagMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teams.teamworkTag summary: Update the navigation property members in teams operationId: team.tag_UpdateMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - name: teamworkTagMember-id in: path description: The unique identifier of teamworkTagMember required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTagMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTagMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTagMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teams.teamworkTag summary: Delete teamworkTagMember description: Delete a member from a standard tag in a team. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamworktagmember-delete?view=graph-rest-1.0 operationId: team.tag_DeleteMember parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - name: teamworkTagMember-id in: path description: The unique identifier of teamworkTagMember required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTagMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teams/{team-id}/tags/{teamworkTag-id}/members/$count': get: tags: - teams.teamworkTag summary: Get the number of the resource operationId: team.tag.member_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/tags/$count': get: tags: - teams.teamworkTag summary: Get the number of the resource operationId: team.tag_GetCount parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teams/{team-id}/template': get: tags: - teams.teamsTemplate summary: Get template from teams description: The template this team was created from. See available templates. operationId: team_GetTemplate parameters: - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - 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.teamsTemplate' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation /teams/$count: get: tags: - teams.team summary: Get the number of the resource operationId: team_GetCount parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' /teams/microsoft.graph.getAllMessages(): get: tags: - teams.team.Functions summary: Invoke function getAllMessages operationId: team_getAllMessage parameters: - name: model in: query description: The payment model for the API style: form explode: false schema: type: string - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore /teamwork: get: tags: - teamwork.teamwork summary: 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_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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teamwork.teamwork summary: Update teamwork operationId: 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation /teamwork/deletedChats: get: tags: - teamwork.deletedChat summary: Get deletedChat description: Read the properties and relationships of a deletedChat object. operationId: teamwork_ListDeletedChat 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' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teamwork.deletedChat summary: Create new navigation property to deletedChats for teamwork operationId: teamwork_CreateDeletedChat 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedChats/{deletedChat-id}': get: tags: - teamwork.deletedChat summary: 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_GetDeletedChat parameters: - name: deletedChat-id in: path description: The unique identifier of deletedChat required: true style: simple schema: type: string x-ms-docs-key-type: deletedChat - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teamwork.deletedChat summary: Update the navigation property deletedChats in teamwork operationId: teamwork_UpdateDeletedChat parameters: - name: deletedChat-id in: path description: The unique identifier of deletedChat required: true style: simple schema: type: string x-ms-docs-key-type: deletedChat 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teamwork.deletedChat summary: Delete navigation property deletedChats for teamwork operationId: teamwork_DeleteDeletedChat parameters: - name: deletedChat-id in: path description: The unique identifier of deletedChat required: true style: simple schema: type: string x-ms-docs-key-type: deletedChat - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedChats/{deletedChat-id}/microsoft.graph.undoDelete': post: tags: - teamwork.deletedChat summary: Invoke action undoDelete description: Restore a deletedChat to an active chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/deletedchat-undodelete?view=graph-rest-1.0 operationId: teamwork.deletedChat_undoDelete parameters: - name: deletedChat-id in: path description: The unique identifier of deletedChat required: true style: simple schema: type: string x-ms-docs-key-type: deletedChat responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action /teamwork/deletedChats/$count: get: tags: - teamwork.deletedChat summary: Get the number of the resource operationId: teamwork.deletedChat_GetCount parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' /teamwork/deletedTeams: get: tags: - teamwork.deletedTeam summary: List deletedTeams description: Get a list of the deletedTeam objects and their properties. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamwork-list-deletedteams?view=graph-rest-1.0 operationId: teamwork_ListDeletedTeam 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.deletedTeamCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teamwork.deletedTeam summary: Create new navigation property to deletedTeams for teamwork operationId: teamwork_CreateDeletedTeam requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.deletedTeam' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.deletedTeam' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}': get: tags: - teamwork.deletedTeam summary: Get deletedTeams from teamwork description: The deleted team. operationId: teamwork_GetDeletedTeam parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - 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.deletedTeam' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teamwork.deletedTeam summary: Update the navigation property deletedTeams in teamwork operationId: teamwork_UpdateDeletedTeam parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.deletedTeam' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.deletedTeam' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teamwork.deletedTeam summary: Delete navigation property deletedTeams for teamwork operationId: teamwork_DeleteDeletedTeam parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels': get: tags: - teamwork.deletedTeam summary: Get channels from teamwork description: The channels that are either shared with this deleted team or created in this deleted team. operationId: teamwork.deletedTeam_ListChannel parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - $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.channelCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teamwork.deletedTeam summary: Create new navigation property to channels for teamwork operationId: teamwork.deletedTeam_CreateChannel parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}': get: tags: - teamwork.deletedTeam summary: Get channels from teamwork description: The channels that are either shared with this deleted team or created in this deleted team. operationId: teamwork.deletedTeam_GetChannel parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - 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.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teamwork.deletedTeam summary: Update the navigation property channels in teamwork operationId: teamwork.deletedTeam_UpdateChannel parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teamwork.deletedTeam summary: Delete navigation property channels for teamwork operationId: teamwork.deletedTeam_DeleteChannel parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/allMembers': get: tags: - teamwork.deletedTeam summary: Get allMembers from teamwork description: 'A collection of membership records associated with the channel, including both direct and indirect members of shared channels.' operationId: teamwork.deletedTeam.channel_ListAllMember parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teamwork.deletedTeam summary: Create new navigation property to allMembers for teamwork operationId: teamwork.deletedTeam.channel_CreateAllMember parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/allMembers/{conversationMember-id}': get: tags: - teamwork.deletedTeam summary: Get allMembers from teamwork description: 'A collection of membership records associated with the channel, including both direct and indirect members of shared channels.' operationId: teamwork.deletedTeam.channel_GetAllMember parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teamwork.deletedTeam summary: Update the navigation property allMembers in teamwork operationId: teamwork.deletedTeam.channel_UpdateAllMember parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teamwork.deletedTeam summary: Delete navigation property allMembers for teamwork operationId: teamwork.deletedTeam.channel_DeleteAllMember parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/allMembers/$count': get: tags: - teamwork.deletedTeam summary: Get the number of the resource operationId: teamwork.deletedTeam.channel.allMember_GetCount parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/allMembers/microsoft.graph.add': post: tags: - teamwork.deletedTeam summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel.allMember_add parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/allMembers/microsoft.graph.remove': post: tags: - teamwork.deletedTeam summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel.allMember_remove parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/enabledApps': get: tags: - teamwork.deletedTeam summary: Get enabledApps from teamwork description: A collection of enabled apps in the channel. operationId: teamwork.deletedTeam.channel_ListEnabledApp parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.teamsAppCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/enabledApps/{teamsApp-id}': get: tags: - teamwork.deletedTeam summary: Get enabledApps from teamwork description: A collection of enabled apps in the channel. operationId: teamwork.deletedTeam.channel_GetEnabledApp parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/enabledApps/$count': get: tags: - teamwork.deletedTeam summary: Get the number of the resource operationId: teamwork.deletedTeam.channel.enabledApp_GetCount parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/filesFolder': get: tags: - teamwork.deletedTeam summary: Get filesFolder from teamwork description: Metadata for the location where the channel's files are stored. operationId: teamwork.deletedTeam.channel_GetFilesFolder parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - 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.driveItem' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/filesFolder/content': get: tags: - teamwork.deletedTeam summary: Get content for the navigation property filesFolder from teamwork description: 'The content stream, if the item represents a file.' operationId: teamwork.deletedTeam.channel_GetFilesFolderContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: $format in: query description: Format of the content style: form explode: false schema: type: string responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - teamwork.deletedTeam summary: Update content for the navigation property filesFolder in teamwork description: 'The content stream, if the item represents a file.' operationId: teamwork.deletedTeam.channel_SetFilesFolderContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.driveItem' default: $ref: '#/components/responses/error' delete: tags: - teamwork.deletedTeam summary: Delete content for the navigation property filesFolder in teamwork description: 'The content stream, if the item represents a file.' operationId: teamwork.deletedTeam.channel_DeleteFilesFolderContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/members': get: tags: - teamwork.deletedTeam summary: Get members from teamwork description: A collection of membership records associated with the channel. operationId: teamwork.deletedTeam.channel_ListMember parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teamwork.deletedTeam summary: Create new navigation property to members for teamwork operationId: teamwork.deletedTeam.channel_CreateMember parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/members/{conversationMember-id}': get: tags: - teamwork.deletedTeam summary: Get members from teamwork description: A collection of membership records associated with the channel. operationId: teamwork.deletedTeam.channel_GetMember parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teamwork.deletedTeam summary: Update the navigation property members in teamwork operationId: teamwork.deletedTeam.channel_UpdateMember parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teamwork.deletedTeam summary: Delete navigation property members for teamwork operationId: teamwork.deletedTeam.channel_DeleteMember parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/members/$count': get: tags: - teamwork.deletedTeam summary: Get the number of the resource operationId: teamwork.deletedTeam.channel.member_GetCount parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/members/microsoft.graph.add': post: tags: - teamwork.deletedTeam summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel.member_add parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/members/microsoft.graph.remove': post: tags: - teamwork.deletedTeam summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel.member_remove parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages': get: tags: - teamwork.deletedTeam summary: Get messages from teamwork description: A collection of all the messages in the channel. A navigation property. Nullable. operationId: teamwork.deletedTeam.channel_ListMessage parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teamwork.deletedTeam summary: Create new navigation property to messages for teamwork operationId: teamwork.deletedTeam.channel_CreateMessage parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}': get: tags: - teamwork.deletedTeam summary: Get messages from teamwork description: A collection of all the messages in the channel. A navigation property. Nullable. operationId: teamwork.deletedTeam.channel_GetMessage parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teamwork.deletedTeam summary: Update the navigation property messages in teamwork operationId: teamwork.deletedTeam.channel_UpdateMessage parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teamwork.deletedTeam summary: Delete navigation property messages for teamwork operationId: teamwork.deletedTeam.channel_DeleteMessage parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents': get: tags: - teamwork.deletedTeam summary: Get hostedContents from teamwork description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: teamwork.deletedTeam.channel.message_ListHostedContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teamwork.deletedTeam summary: Create new navigation property to hostedContents for teamwork operationId: teamwork.deletedTeam.channel.message_CreateHostedContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}': get: tags: - teamwork.deletedTeam summary: Get hostedContents from teamwork description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: teamwork.deletedTeam.channel.message_GetHostedContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teamwork.deletedTeam summary: Update the navigation property hostedContents in teamwork operationId: teamwork.deletedTeam.channel.message_UpdateHostedContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teamwork.deletedTeam summary: Delete navigation property hostedContents for teamwork operationId: teamwork.deletedTeam.channel.message_DeleteHostedContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - teamwork.deletedTeam summary: Get media content for the navigation property hostedContents from teamwork description: The unique identifier for an entity. Read-only. operationId: teamwork.deletedTeam.channel.message_GetHostedContentsContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - teamwork.deletedTeam summary: Update media content for the navigation property hostedContents in teamwork description: The unique identifier for an entity. Read-only. operationId: teamwork.deletedTeam.channel.message_SetHostedContentsContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - teamwork.deletedTeam summary: Delete media content for the navigation property hostedContents in teamwork description: The unique identifier for an entity. Read-only. operationId: teamwork.deletedTeam.channel.message_DeleteHostedContentsContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/$count': get: tags: - teamwork.deletedTeam summary: Get the number of the resource operationId: teamwork.deletedTeam.channel.message.hostedContent_GetCount parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/microsoft.graph.setReaction': post: tags: - teamwork.deletedTeam summary: Invoke action setReaction operationId: teamwork.deletedTeam.channel.message_setReaction parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/microsoft.graph.softDelete': post: tags: - teamwork.deletedTeam summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel.message_softDelete parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/microsoft.graph.undoSoftDelete': post: tags: - teamwork.deletedTeam summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel.message_undoSoftDelete parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/microsoft.graph.unsetReaction': post: tags: - teamwork.deletedTeam summary: Invoke action unsetReaction operationId: teamwork.deletedTeam.channel.message_unsetReaction parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/replies': get: tags: - teamwork.deletedTeam summary: Get replies from teamwork description: Replies for a specified message. Supports $expand for channel messages. operationId: teamwork.deletedTeam.channel.message_ListReply parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teamwork.deletedTeam summary: Create new navigation property to replies for teamwork operationId: teamwork.deletedTeam.channel.message_CreateReply parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}': get: tags: - teamwork.deletedTeam summary: Get replies from teamwork description: Replies for a specified message. Supports $expand for channel messages. operationId: teamwork.deletedTeam.channel.message_GetReply parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teamwork.deletedTeam summary: Update the navigation property replies in teamwork operationId: teamwork.deletedTeam.channel.message_UpdateReply parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teamwork.deletedTeam summary: Delete navigation property replies for teamwork operationId: teamwork.deletedTeam.channel.message_DeleteReply parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents': get: tags: - teamwork.deletedTeam summary: Get hostedContents from teamwork description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: teamwork.deletedTeam.channel.message.reply_ListHostedContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teamwork.deletedTeam summary: Create new navigation property to hostedContents for teamwork operationId: teamwork.deletedTeam.channel.message.reply_CreateHostedContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}': get: tags: - teamwork.deletedTeam summary: Get hostedContents from teamwork description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: teamwork.deletedTeam.channel.message.reply_GetHostedContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teamwork.deletedTeam summary: Update the navigation property hostedContents in teamwork operationId: teamwork.deletedTeam.channel.message.reply_UpdateHostedContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teamwork.deletedTeam summary: Delete navigation property hostedContents for teamwork operationId: teamwork.deletedTeam.channel.message.reply_DeleteHostedContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - teamwork.deletedTeam summary: Get media content for the navigation property hostedContents from teamwork description: The unique identifier for an entity. Read-only. operationId: teamwork.deletedTeam.channel.message.reply_GetHostedContentsContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - teamwork.deletedTeam summary: Update media content for the navigation property hostedContents in teamwork description: The unique identifier for an entity. Read-only. operationId: teamwork.deletedTeam.channel.message.reply_SetHostedContentsContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - teamwork.deletedTeam summary: Delete media content for the navigation property hostedContents in teamwork description: The unique identifier for an entity. Read-only. operationId: teamwork.deletedTeam.channel.message.reply_DeleteHostedContentsContent parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/$count': get: tags: - teamwork.deletedTeam summary: Get the number of the resource operationId: teamwork.deletedTeam.channel.message.reply.hostedContent_GetCount parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.setReaction': post: tags: - teamwork.deletedTeam summary: Invoke action setReaction operationId: teamwork.deletedTeam.channel.message.reply_setReaction parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.softDelete': post: tags: - teamwork.deletedTeam summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel.message.reply_softDelete parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.undoSoftDelete': post: tags: - teamwork.deletedTeam summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel.message.reply_undoSoftDelete parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.unsetReaction': post: tags: - teamwork.deletedTeam summary: Invoke action unsetReaction operationId: teamwork.deletedTeam.channel.message.reply_unsetReaction parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/$count': get: tags: - teamwork.deletedTeam summary: Get the number of the resource operationId: teamwork.deletedTeam.channel.message.reply_GetCount parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/microsoft.graph.delta()': get: tags: - teamwork.deletedTeam summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel.message.reply_delta parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/microsoft.graph.replyWithQuote': post: tags: - teamwork.deletedTeam summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel.message.reply_replyGraphWPreQuote parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/$count': get: tags: - teamwork.deletedTeam summary: Get the number of the resource operationId: teamwork.deletedTeam.channel.message_GetCount parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/microsoft.graph.delta()': get: tags: - teamwork.deletedTeam summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel.message_delta parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/messages/microsoft.graph.replyWithQuote': post: tags: - teamwork.deletedTeam summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel.message_replyGraphWPreQuote parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/microsoft.graph.archive': post: tags: - teamwork.deletedTeam summary: Invoke action archive description: 'Archive a channel in a team. When a channel is archived, users can''t send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can''t be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel_archive parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: shouldSetSpoSiteReadOnlyForMembers: type: boolean default: false nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/microsoft.graph.completeMigration': post: tags: - teamwork.deletedTeam summary: Invoke action completeMigration description: 'Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-completemigration?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel_completeMigration parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/microsoft.graph.doesUserHaveAccess(userId=''@userId'',tenantId=''@tenantId'',userPrincipalName=''@userPrincipalName'')': get: tags: - teamwork.deletedTeam summary: Invoke function doesUserHaveAccess description: Determine whether a user has access to a channel. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-doesuserhaveaccess?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel_doesUserHaveAccess parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: userId in: query description: 'Usage: userId=''@userId''' style: form explode: false schema: type: string nullable: true - name: tenantId in: query description: 'Usage: tenantId=''@tenantId''' style: form explode: false schema: type: string nullable: true - name: userPrincipalName in: query description: 'Usage: userPrincipalName=''@userPrincipalName''' style: form explode: false schema: type: string nullable: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: boolean default: false additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/microsoft.graph.provisionEmail': post: tags: - teamwork.deletedTeam summary: Invoke action provisionEmail description: 'Provision an email address for a channel. Microsoft Teams doesn''t automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel_provisionEmail parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.provisionChannelEmailResult' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/microsoft.graph.removeEmail': post: tags: - teamwork.deletedTeam summary: Invoke action removeEmail description: Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel_removeEmail parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/microsoft.graph.startMigration': post: tags: - teamwork.deletedTeam summary: Invoke action startMigration description: 'Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-startmigration?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel_startMigration parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: conversationCreationDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/microsoft.graph.unarchive': post: tags: - teamwork.deletedTeam summary: Invoke action unarchive description: 'Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel_unarchive parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/sharedWithTeams': get: tags: - teamwork.deletedTeam summary: Get sharedWithTeams from teamwork description: A collection of teams with which a channel is shared. operationId: teamwork.deletedTeam.channel_ListSharedGraphWPreTeam parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.sharedWithChannelTeamInfoCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teamwork.deletedTeam summary: Create new navigation property to sharedWithTeams for teamwork operationId: teamwork.deletedTeam.channel_CreateSharedGraphWPreTeam parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}': get: tags: - teamwork.deletedTeam summary: Get sharedWithTeams from teamwork description: A collection of teams with which a channel is shared. operationId: teamwork.deletedTeam.channel_GetSharedGraphWPreTeam parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - 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.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teamwork.deletedTeam summary: Update the navigation property sharedWithTeams in teamwork operationId: teamwork.deletedTeam.channel_UpdateSharedGraphWPreTeam parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teamwork.deletedTeam summary: Delete navigation property sharedWithTeams for teamwork operationId: teamwork.deletedTeam.channel_DeleteSharedGraphWPreTeam parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers': get: tags: - teamwork.deletedTeam summary: Get allowedMembers from teamwork description: A collection of team members who have access to the shared channel. operationId: teamwork.deletedTeam.channel.sharedGraphWPreTeam_ListAllowedMember parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers/{conversationMember-id}': get: tags: - teamwork.deletedTeam summary: Get allowedMembers from teamwork description: A collection of team members who have access to the shared channel. operationId: teamwork.deletedTeam.channel.sharedGraphWPreTeam_GetAllowedMember parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers/$count': get: tags: - teamwork.deletedTeam summary: Get the number of the resource operationId: teamwork.deletedTeam.channel.sharedGraphWPreTeam.allowedMember_GetCount parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}/team': get: tags: - teamwork.deletedTeam summary: Get team from teamwork operationId: teamwork.deletedTeam.channel.sharedGraphWPreTeam_GetTeam parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/sharedWithTeams/$count': get: tags: - teamwork.deletedTeam summary: Get the number of the resource operationId: teamwork.deletedTeam.channel.sharedGraphWPreTeam_GetCount parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/tabs': get: tags: - teamwork.deletedTeam summary: Get tabs from teamwork description: A collection of all the tabs in the channel. A navigation property. operationId: teamwork.deletedTeam.channel_ListTab parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.teamsTabCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teamwork.deletedTeam summary: Create new navigation property to tabs for teamwork operationId: teamwork.deletedTeam.channel_CreateTab parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/tabs/{teamsTab-id}': get: tags: - teamwork.deletedTeam summary: Get tabs from teamwork description: A collection of all the tabs in the channel. A navigation property. operationId: teamwork.deletedTeam.channel_GetTab parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - 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.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teamwork.deletedTeam summary: Update the navigation property tabs in teamwork operationId: teamwork.deletedTeam.channel_UpdateTab parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teamwork.deletedTeam summary: Delete navigation property tabs for teamwork operationId: teamwork.deletedTeam.channel_DeleteTab parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/tabs/{teamsTab-id}/teamsApp': get: tags: - teamwork.deletedTeam summary: Get teamsApp from teamwork description: The application that is linked to the tab. This can't be changed after tab creation. operationId: teamwork.deletedTeam.channel.tab_GetTeamsApp parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/deletedTeams/{deletedTeam-id}/channels/{channel-id}/tabs/$count': get: tags: - teamwork.deletedTeam summary: Get the number of the resource operationId: teamwork.deletedTeam.channel.tab_GetCount parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teamwork/deletedTeams/{deletedTeam-id}/channels/$count': get: tags: - teamwork.deletedTeam summary: Get the number of the resource operationId: teamwork.deletedTeam.channel_GetCount parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/teamwork/deletedTeams/{deletedTeam-id}/channels/microsoft.graph.getAllMessages()': get: tags: - teamwork.deletedTeam summary: Invoke function getAllMessages description: 'Retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-getallmessages?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel_getAllMessage parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - name: model in: query description: The payment model for the API style: form explode: false schema: type: string - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/teamwork/deletedTeams/{deletedTeam-id}/channels/microsoft.graph.getAllRetainedMessages()': get: tags: - teamwork.deletedTeam summary: Invoke function getAllRetainedMessages description: 'Get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-getallretainedmessages?view=graph-rest-1.0 operationId: teamwork.deletedTeam.channel_getAllRetainedMessage parameters: - name: deletedTeam-id in: path description: The unique identifier of deletedTeam required: true style: simple schema: type: string x-ms-docs-key-type: deletedTeam - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore /teamwork/deletedTeams/$count: get: tags: - teamwork.deletedTeam summary: Get the number of the resource operationId: teamwork.deletedTeam_GetCount parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' /teamwork/deletedTeams/microsoft.graph.getAllMessages(): get: tags: - teamwork.deletedTeam summary: Invoke function getAllMessages operationId: teamwork.deletedTeam_getAllMessage parameters: - name: model in: query description: The payment model for the API style: form explode: false schema: type: string - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore /teamwork/microsoft.graph.sendActivityNotificationToRecipients: post: tags: - teamwork.teamwork.Actions summary: Invoke action sendActivityNotificationToRecipients description: 'Send activity feed notifications to multiple users, in bulk. For more information, see sending Teams activity notifications.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamwork-sendactivitynotificationtorecipients?view=graph-rest-1.0 operationId: teamwork_sendActivityNotificationToRecipient requestBody: description: Action parameters content: application/json: schema: type: object properties: topic: $ref: '#/components/schemas/microsoft.graph.teamworkActivityTopic' activityType: type: string nullable: true chainId: type: number format: int64 nullable: true previewText: $ref: '#/components/schemas/microsoft.graph.itemBody' teamsAppId: type: string nullable: true templateParameters: type: array items: $ref: '#/components/schemas/microsoft.graph.keyValuePair' recipients: type: array items: $ref: '#/components/schemas/microsoft.graph.teamworkNotificationRecipient' iconId: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action /teamwork/teamsAppSettings: get: tags: - teamwork.teamsAppSettings summary: Get teamsAppSettings description: Get the tenant-wide teamsAppSettings for all Teams apps in the tenant. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamsappsettings-get?view=graph-rest-1.0 operationId: teamwork_GetTeamsAppSetting 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.teamsAppSettings' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teamwork.teamsAppSettings summary: Update teamsAppSettings description: Update the tenant-wide teamsAppSettings for all Teams apps in the tenant. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/teamsappsettings-update?view=graph-rest-1.0 operationId: teamwork_UpdateTeamsAppSetting requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppSettings' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppSettings' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teamwork.teamsAppSettings summary: Delete navigation property teamsAppSettings for teamwork operationId: teamwork_DeleteTeamsAppSetting parameters: - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation /teamwork/workforceIntegrations: get: tags: - teamwork.workforceIntegration summary: List workforceIntegrations description: Retrieve a list of workforceIntegration objects. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/workforceintegration-list?view=graph-rest-1.0 operationId: teamwork_ListWorkforceIntegration 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.workforceIntegrationCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - teamwork.workforceIntegration summary: Create workforceIntegration description: Create a new workforceIntegration object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/workforceintegration-post?view=graph-rest-1.0 operationId: teamwork_CreateWorkforceIntegration requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.workforceIntegration' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.workforceIntegration' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/teamwork/workforceIntegrations/{workforceIntegration-id}': get: tags: - teamwork.workforceIntegration summary: Get workforceIntegration description: Retrieve the properties and relationships of a workforceIntegration object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/workforceintegration-get?view=graph-rest-1.0 operationId: teamwork_GetWorkforceIntegration parameters: - name: workforceIntegration-id in: path description: The unique identifier of workforceIntegration required: true style: simple schema: type: string x-ms-docs-key-type: workforceIntegration - 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.workforceIntegration' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - teamwork.workforceIntegration summary: Update workforceIntegration description: Update the properties of a workforceIntegration object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/workforceintegration-update?view=graph-rest-1.0 operationId: teamwork_UpdateWorkforceIntegration parameters: - name: workforceIntegration-id in: path description: The unique identifier of workforceIntegration required: true style: simple schema: type: string x-ms-docs-key-type: workforceIntegration requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.workforceIntegration' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.workforceIntegration' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - teamwork.workforceIntegration summary: Delete workforceIntegration description: Delete an instance of a workforceIntegration. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/workforceintegration-delete?view=graph-rest-1.0 operationId: teamwork_DeleteWorkforceIntegration parameters: - name: workforceIntegration-id in: path description: The unique identifier of workforceIntegration required: true style: simple schema: type: string x-ms-docs-key-type: workforceIntegration - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation /teamwork/workforceIntegrations/$count: get: tags: - teamwork.workforceIntegration summary: Get the number of the resource operationId: teamwork.workforceIntegration_GetCount parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/chats': get: tags: - users.chat summary: List chats description: 'Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-list?view=graph-rest-1.0 operationId: user_ListChat parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - $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.chatCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.chat summary: Create new navigation property to chats for users operationId: user_CreateChat parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}': get: tags: - users.chat summary: Get chat description: 'Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-get?view=graph-rest-1.0 operationId: user_GetChat parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.chat summary: Update the navigation property chats in users operationId: user_UpdateChat parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.chat summary: Delete navigation property chats for users operationId: user_DeleteChat parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/installedApps': get: tags: - users.chat summary: Get installedApps from users description: A collection of all the apps in the chat. Nullable. operationId: user.chat_ListInstalledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $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.teamsAppInstallationCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.chat summary: Create new navigation property to installedApps for users operationId: user.chat_CreateInstalledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/installedApps/{teamsAppInstallation-id}': get: tags: - users.chat summary: Get installedApps from users description: A collection of all the apps in the chat. Nullable. operationId: user.chat_GetInstalledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - 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.teamsAppInstallation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.chat summary: Update the navigation property installedApps in users operationId: user.chat_UpdateInstalledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.chat summary: Delete navigation property installedApps for users operationId: user.chat_DeleteInstalledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/installedApps/{teamsAppInstallation-id}/microsoft.graph.upgrade': post: tags: - users.chat summary: Invoke action upgrade description: Upgrade an app installation within a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-1.0 operationId: user.chat.installedApp_upgrade parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation requestBody: description: Action parameters content: application/json: schema: type: object properties: consentedPermissionSet: $ref: '#/components/schemas/microsoft.graph.teamsAppPermissionSet' additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/installedApps/{teamsAppInstallation-id}/teamsApp': get: tags: - users.chat summary: Get teamsApp from users description: The app that is installed. operationId: user.chat.installedApp_GetTeamsApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/installedApps/{teamsAppInstallation-id}/teamsAppDefinition': get: tags: - users.chat summary: Get teamsAppDefinition from users description: The details of this version of the app. operationId: user.chat.installedApp_GetTeamsAppDefinition parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/installedApps/$count': get: tags: - users.chat summary: Get the number of the resource operationId: user.chat.installedApp_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/chats/{chat-id}/lastMessagePreview': get: tags: - users.chat summary: Get lastMessagePreview from users description: 'Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property.' operationId: user.chat_GetLastMessagePreview parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - 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.chatMessageInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.chat summary: Update the navigation property lastMessagePreview in users operationId: user.chat_UpdateLastMessagePreview parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageInfo' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.chat summary: Delete navigation property lastMessagePreview for users operationId: user.chat_DeleteLastMessagePreview parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/members': get: tags: - users.chat summary: Get members from users description: A collection of all the members in the chat. Nullable. operationId: user.chat_ListMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.chat summary: Create new navigation property to members for users operationId: user.chat_CreateMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/members/{conversationMember-id}': get: tags: - users.chat summary: Get members from users description: A collection of all the members in the chat. Nullable. operationId: user.chat_GetMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.chat summary: Update the navigation property members in users operationId: user.chat_UpdateMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.chat summary: Delete navigation property members for users operationId: user.chat_DeleteMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/members/$count': get: tags: - users.chat summary: Get the number of the resource operationId: user.chat.member_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/chats/{chat-id}/members/microsoft.graph.add': post: tags: - users.chat summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: user.chat.member_add parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/chats/{chat-id}/members/microsoft.graph.remove': post: tags: - users.chat summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: user.chat.member_remove parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/chats/{chat-id}/messages': get: tags: - users.chat summary: Get messages from users description: A collection of all the messages in the chat. Nullable. operationId: user.chat_ListMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.chat summary: Create new navigation property to messages for users operationId: user.chat_CreateMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}': get: tags: - users.chat summary: Get messages from users description: A collection of all the messages in the chat. Nullable. operationId: user.chat_GetMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.chat summary: Update the navigation property messages in users operationId: user.chat_UpdateMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.chat summary: Delete navigation property messages for users operationId: user.chat_DeleteMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/hostedContents': get: tags: - users.chat summary: Get hostedContents from users description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: user.chat.message_ListHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.chat summary: Create new navigation property to hostedContents for users operationId: user.chat.message_CreateHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}': get: tags: - users.chat summary: Get hostedContents from users description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: user.chat.message_GetHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.chat summary: Update the navigation property hostedContents in users operationId: user.chat.message_UpdateHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.chat summary: Delete navigation property hostedContents for users operationId: user.chat.message_DeleteHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - users.chat summary: Get media content for the navigation property hostedContents from users description: The unique identifier for an entity. Read-only. operationId: user.chat.message_GetHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - users.chat summary: Update media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: user.chat.message_SetHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - users.chat summary: Delete media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: user.chat.message_DeleteHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/hostedContents/$count': get: tags: - users.chat summary: Get the number of the resource operationId: user.chat.message.hostedContent_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/microsoft.graph.setReaction': post: tags: - users.chat summary: Invoke action setReaction operationId: user.chat.message_setReaction parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/microsoft.graph.softDelete': post: tags: - users.chat summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: user.chat.message_softDelete parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/microsoft.graph.undoSoftDelete': post: tags: - users.chat summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: user.chat.message_undoSoftDelete parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/microsoft.graph.unsetReaction': post: tags: - users.chat summary: Invoke action unsetReaction operationId: user.chat.message_unsetReaction parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies': get: tags: - users.chat summary: Get replies from users description: Replies for a specified message. Supports $expand for channel messages. operationId: user.chat.message_ListReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.chat summary: Create new navigation property to replies for users operationId: user.chat.message_CreateReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}': get: tags: - users.chat summary: Get replies from users description: Replies for a specified message. Supports $expand for channel messages. operationId: user.chat.message_GetReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.chat summary: Update the navigation property replies in users operationId: user.chat.message_UpdateReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.chat summary: Delete navigation property replies for users operationId: user.chat.message_DeleteReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents': get: tags: - users.chat summary: Get hostedContents from users description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: user.chat.message.reply_ListHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.chat summary: Create new navigation property to hostedContents for users operationId: user.chat.message.reply_CreateHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}': get: tags: - users.chat summary: Get hostedContents from users description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: user.chat.message.reply_GetHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.chat summary: Update the navigation property hostedContents in users operationId: user.chat.message.reply_UpdateHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.chat summary: Delete navigation property hostedContents for users operationId: user.chat.message.reply_DeleteHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - users.chat summary: Get media content for the navigation property hostedContents from users description: The unique identifier for an entity. Read-only. operationId: user.chat.message.reply_GetHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - users.chat summary: Update media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: user.chat.message.reply_SetHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - users.chat summary: Delete media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: user.chat.message.reply_DeleteHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/$count': get: tags: - users.chat summary: Get the number of the resource operationId: user.chat.message.reply.hostedContent_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.setReaction': post: tags: - users.chat summary: Invoke action setReaction operationId: user.chat.message.reply_setReaction parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.softDelete': post: tags: - users.chat summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: user.chat.message.reply_softDelete parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.undoSoftDelete': post: tags: - users.chat summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: user.chat.message.reply_undoSoftDelete parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.unsetReaction': post: tags: - users.chat summary: Invoke action unsetReaction operationId: user.chat.message.reply_unsetReaction parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/$count': get: tags: - users.chat summary: Get the number of the resource operationId: user.chat.message.reply_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/microsoft.graph.delta()': get: tags: - users.chat summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: user.chat.message.reply_delta parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/microsoft.graph.replyWithQuote': post: tags: - users.chat summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: user.chat.message.reply_replyGraphWPreQuote parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/messages/$count': get: tags: - users.chat summary: Get the number of the resource operationId: user.chat.message_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/chats/{chat-id}/messages/microsoft.graph.delta()': get: tags: - users.chat summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: user.chat.message_delta parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/chats/{chat-id}/messages/microsoft.graph.replyWithQuote': post: tags: - users.chat summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: user.chat.message_replyGraphWPreQuote parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/microsoft.graph.completeMigration': post: tags: - users.chat summary: Invoke action completeMigration description: 'Complete the migration of external messages by removing migration mode from a chat. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. After a completeMigration request is made for an existing or new chat, you can start a migration session by calling chat: startMigration. This API supportes the following channel types.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-completemigration?view=graph-rest-1.0 operationId: user.chat_completeMigration parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/microsoft.graph.hideForUser': post: tags: - users.chat summary: Invoke action hideForUser description: Hide a chat for a user. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-hideforuser?view=graph-rest-1.0 operationId: user.chat_hideGraphFPreUser parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: user: $ref: '#/components/schemas/microsoft.graph.teamworkUserIdentity' additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/microsoft.graph.markChatReadForUser': post: tags: - users.chat summary: Invoke action markChatReadForUser description: Mark a chat as read for a user. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-markchatreadforuser?view=graph-rest-1.0 operationId: user.chat_markChatReadGraphFPreUser parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: user: $ref: '#/components/schemas/microsoft.graph.teamworkUserIdentity' additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/microsoft.graph.markChatUnreadForUser': post: tags: - users.chat summary: Invoke action markChatUnreadForUser description: Mark a chat as unread for a user. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-markchatunreadforuser?view=graph-rest-1.0 operationId: user.chat_markChatUnreadGraphFPreUser parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: user: $ref: '#/components/schemas/microsoft.graph.teamworkUserIdentity' lastMessageReadDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/microsoft.graph.removeAllAccessForUser': post: tags: - users.chat summary: Invoke action removeAllAccessForUser description: Remove access to a chat for a user. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-removeallaccessforuser?view=graph-rest-1.0 operationId: user.chat_removeAllAccessGraphFPreUser parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: user: $ref: '#/components/schemas/microsoft.graph.teamworkUserIdentity' additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/microsoft.graph.sendActivityNotification': post: tags: - users.chat summary: Invoke action sendActivityNotification description: 'Send an activity feed notification in scope of a chat. For more information about sending notifications and the requirements for doing so, see sending Teams activity notifications.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-sendactivitynotification?view=graph-rest-1.0 operationId: user.chat_sendActivityNotification parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: topic: $ref: '#/components/schemas/microsoft.graph.teamworkActivityTopic' activityType: type: string nullable: true chainId: type: number format: int64 nullable: true previewText: $ref: '#/components/schemas/microsoft.graph.itemBody' teamsAppId: type: string nullable: true templateParameters: type: array items: $ref: '#/components/schemas/microsoft.graph.keyValuePair' recipient: $ref: '#/components/schemas/microsoft.graph.teamworkNotificationRecipient' iconId: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/microsoft.graph.startMigration': post: tags: - users.chat summary: Invoke action startMigration description: 'Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-startmigration?view=graph-rest-1.0 operationId: user.chat_startMigration parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: conversationCreationDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/microsoft.graph.unhideForUser': post: tags: - users.chat summary: Invoke action unhideForUser description: Unhide a chat for a user. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-unhideforuser?view=graph-rest-1.0 operationId: user.chat_unhideGraphFPreUser parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: Action parameters content: application/json: schema: type: object properties: user: $ref: '#/components/schemas/microsoft.graph.teamworkUserIdentity' additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/permissionGrants': get: tags: - users.chat summary: Get permissionGrants from users description: A collection of permissions granted to apps for the chat. operationId: user.chat_ListPermissionGrant parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $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.resourceSpecificPermissionGrantCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.chat summary: Create new navigation property to permissionGrants for users operationId: user.chat_CreatePermissionGrant parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/permissionGrants/{resourceSpecificPermissionGrant-id}': get: tags: - users.chat summary: Get permissionGrants from users description: A collection of permissions granted to apps for the chat. operationId: user.chat_GetPermissionGrant parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: resourceSpecificPermissionGrant-id in: path description: The unique identifier of resourceSpecificPermissionGrant required: true style: simple schema: type: string x-ms-docs-key-type: resourceSpecificPermissionGrant - 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.resourceSpecificPermissionGrant' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.chat summary: Update the navigation property permissionGrants in users operationId: user.chat_UpdatePermissionGrant parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: resourceSpecificPermissionGrant-id in: path description: The unique identifier of resourceSpecificPermissionGrant required: true style: simple schema: type: string x-ms-docs-key-type: resourceSpecificPermissionGrant requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.chat summary: Delete navigation property permissionGrants for users operationId: user.chat_DeletePermissionGrant parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: resourceSpecificPermissionGrant-id in: path description: The unique identifier of resourceSpecificPermissionGrant required: true style: simple schema: type: string x-ms-docs-key-type: resourceSpecificPermissionGrant - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/permissionGrants/$count': get: tags: - users.chat summary: Get the number of the resource operationId: user.chat.permissionGrant_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/chats/{chat-id}/pinnedMessages': get: tags: - users.chat summary: Get pinnedMessages from users description: A collection of all the pinned messages in the chat. Nullable. operationId: user.chat_ListPinnedMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $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.pinnedChatMessageInfoCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.chat summary: Create new navigation property to pinnedMessages for users operationId: user.chat_CreatePinnedMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/pinnedMessages/{pinnedChatMessageInfo-id}': get: tags: - users.chat summary: Get pinnedMessages from users description: A collection of all the pinned messages in the chat. Nullable. operationId: user.chat_GetPinnedMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: pinnedChatMessageInfo-id in: path description: The unique identifier of pinnedChatMessageInfo required: true style: simple schema: type: string x-ms-docs-key-type: pinnedChatMessageInfo - 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.pinnedChatMessageInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.chat summary: Update the navigation property pinnedMessages in users operationId: user.chat_UpdatePinnedMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: pinnedChatMessageInfo-id in: path description: The unique identifier of pinnedChatMessageInfo required: true style: simple schema: type: string x-ms-docs-key-type: pinnedChatMessageInfo requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.chat summary: Delete navigation property pinnedMessages for users operationId: user.chat_DeletePinnedMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: pinnedChatMessageInfo-id in: path description: The unique identifier of pinnedChatMessageInfo required: true style: simple schema: type: string x-ms-docs-key-type: pinnedChatMessageInfo - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/pinnedMessages/{pinnedChatMessageInfo-id}/message': get: tags: - users.chat summary: Get message from users description: Represents details about the chat message that is pinned. operationId: user.chat.pinnedMessage_GetMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: pinnedChatMessageInfo-id in: path description: The unique identifier of pinnedChatMessageInfo required: true style: simple schema: type: string x-ms-docs-key-type: pinnedChatMessageInfo - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/pinnedMessages/$count': get: tags: - users.chat summary: Get the number of the resource operationId: user.chat.pinnedMessage_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/chats/{chat-id}/tabs': get: tags: - users.chat summary: Get tabs from users description: A collection of all the tabs in the chat. Nullable. operationId: user.chat_ListTab parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $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.teamsTabCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.chat summary: Create new navigation property to tabs for users operationId: user.chat_CreateTab parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/tabs/{teamsTab-id}': get: tags: - users.chat summary: Get tabs from users description: A collection of all the tabs in the chat. Nullable. operationId: user.chat_GetTab parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - 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.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.chat summary: Update the navigation property tabs in users operationId: user.chat_UpdateTab parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.chat summary: Delete navigation property tabs for users operationId: user.chat_DeleteTab parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/tabs/{teamsTab-id}/teamsApp': get: tags: - users.chat summary: Get teamsApp from users description: The application that is linked to the tab. This can't be changed after tab creation. operationId: user.chat.tab_GetTeamsApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/tabs/$count': get: tags: - users.chat summary: Get the number of the resource operationId: user.chat.tab_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/chats/{chat-id}/targetedMessages': get: tags: - users.chat summary: Get targetedMessages from users description: 'A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can''t expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.' operationId: user.chat_ListTargetedMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $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.targetedChatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.chat summary: Create new navigation property to targetedMessages for users operationId: user.chat_CreateTargetedMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.targetedChatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.targetedChatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}': get: tags: - users.chat summary: Get targetedMessages from users description: 'A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can''t expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.' operationId: user.chat_GetTargetedMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - 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.targetedChatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.chat summary: Update the navigation property targetedMessages in users operationId: user.chat_UpdateTargetedMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.targetedChatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.targetedChatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.chat summary: Delete navigation property targetedMessages for users operationId: user.chat_DeleteTargetedMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/hostedContents': get: tags: - users.chat summary: Get hostedContents from users description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: user.chat.targetedMessage_ListHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.chat summary: Create new navigation property to hostedContents for users operationId: user.chat.targetedMessage_CreateHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/hostedContents/{chatMessageHostedContent-id}': get: tags: - users.chat summary: Get hostedContents from users description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: user.chat.targetedMessage_GetHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.chat summary: Update the navigation property hostedContents in users operationId: user.chat.targetedMessage_UpdateHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.chat summary: Delete navigation property hostedContents for users operationId: user.chat.targetedMessage_DeleteHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - users.chat summary: Get media content for the navigation property hostedContents from users description: The unique identifier for an entity. Read-only. operationId: user.chat.targetedMessage_GetHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - users.chat summary: Update media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: user.chat.targetedMessage_SetHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - users.chat summary: Delete media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: user.chat.targetedMessage_DeleteHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/users/{user-id}/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/hostedContents/$count': get: tags: - users.chat summary: Get the number of the resource operationId: user.chat.targetedMessage.hostedContent_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies': get: tags: - users.chat summary: Get replies from users description: Replies for a specified message. Supports $expand for channel messages. operationId: user.chat.targetedMessage_ListReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.chat summary: Create new navigation property to replies for users operationId: user.chat.targetedMessage_CreateReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/{chatMessage-id}': get: tags: - users.chat summary: Get replies from users description: Replies for a specified message. Supports $expand for channel messages. operationId: user.chat.targetedMessage_GetReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.chat summary: Update the navigation property replies in users operationId: user.chat.targetedMessage_UpdateReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.chat summary: Delete navigation property replies for users operationId: user.chat.targetedMessage_DeleteReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/{chatMessage-id}/hostedContents': get: tags: - users.chat summary: Get hostedContents from users description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: user.chat.targetedMessage.reply_ListHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.chat summary: Create new navigation property to hostedContents for users operationId: user.chat.targetedMessage.reply_CreateHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}': get: tags: - users.chat summary: Get hostedContents from users description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: user.chat.targetedMessage.reply_GetHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.chat summary: Update the navigation property hostedContents in users operationId: user.chat.targetedMessage.reply_UpdateHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.chat summary: Delete navigation property hostedContents for users operationId: user.chat.targetedMessage.reply_DeleteHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - users.chat summary: Get media content for the navigation property hostedContents from users description: The unique identifier for an entity. Read-only. operationId: user.chat.targetedMessage.reply_GetHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - users.chat summary: Update media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: user.chat.targetedMessage.reply_SetHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - users.chat summary: Delete media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: user.chat.targetedMessage.reply_DeleteHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/users/{user-id}/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/{chatMessage-id}/hostedContents/$count': get: tags: - users.chat summary: Get the number of the resource operationId: user.chat.targetedMessage.reply.hostedContent_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/{chatMessage-id}/microsoft.graph.setReaction': post: tags: - users.chat summary: Invoke action setReaction operationId: user.chat.targetedMessage.reply_setReaction parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/{chatMessage-id}/microsoft.graph.softDelete': post: tags: - users.chat summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: user.chat.targetedMessage.reply_softDelete parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/{chatMessage-id}/microsoft.graph.undoSoftDelete': post: tags: - users.chat summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: user.chat.targetedMessage.reply_undoSoftDelete parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/{chatMessage-id}/microsoft.graph.unsetReaction': post: tags: - users.chat summary: Invoke action unsetReaction operationId: user.chat.targetedMessage.reply_unsetReaction parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/$count': get: tags: - users.chat summary: Get the number of the resource operationId: user.chat.targetedMessage.reply_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/microsoft.graph.delta()': get: tags: - users.chat summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: user.chat.targetedMessage.reply_delta parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/chats/{chat-id}/targetedMessages/{targetedChatMessage-id}/replies/microsoft.graph.replyWithQuote': post: tags: - users.chat summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: user.chat.targetedMessage.reply_replyGraphWPreQuote parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - name: targetedChatMessage-id in: path description: The unique identifier of targetedChatMessage required: true style: simple schema: type: string x-ms-docs-key-type: targetedChatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/chats/{chat-id}/targetedMessages/$count': get: tags: - users.chat summary: Get the number of the resource operationId: user.chat.targetedMessage_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true style: simple schema: type: string x-ms-docs-key-type: chat - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/chats/$count': get: tags: - users.chat summary: Get the number of the resource operationId: user.chat_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/chats/microsoft.graph.getAllMessages()': get: tags: - users.chat summary: Invoke function getAllMessages description: 'Get all messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chats-getallmessages?view=graph-rest-1.0 operationId: user.chat_getAllMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: model in: query description: The payment model for the API style: form explode: false schema: type: string - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/chats/microsoft.graph.getAllRetainedMessages()': get: tags: - users.chat summary: Invoke function getAllRetainedMessages description: 'Get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-getallretainedmessages?view=graph-rest-1.0 operationId: user.chat_getAllRetainedMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/joinedTeams': get: tags: - users.team summary: Get joinedTeams from users operationId: user_ListJoinedTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - $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.teamCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to joinedTeams for users operationId: user_CreateJoinedTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.team' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.team' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}': get: tags: - users.team summary: Get joinedTeams from users operationId: user_GetJoinedTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property joinedTeams in users operationId: user_UpdateJoinedTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.team' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.team' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property joinedTeams for users operationId: user_DeleteJoinedTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/allChannels': get: tags: - users.team summary: Get allChannels from users description: List of channels either hosted in or shared with the team (incoming channels). operationId: user.joinedTeam_ListAllChannel parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.channelCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/allChannels/{channel-id}': get: tags: - users.team summary: Get allChannels from users description: List of channels either hosted in or shared with the team (incoming channels). operationId: user.joinedTeam_GetAllChannel parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - 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.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/allChannels/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.allChannel_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/channels': get: tags: - users.team summary: Get channels from users description: The collection of channels and messages associated with the team. operationId: user.joinedTeam_ListChannel parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.channelCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to channels for users operationId: user.joinedTeam_CreateChannel parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}': get: tags: - users.team summary: Get channels from users description: The collection of channels and messages associated with the team. operationId: user.joinedTeam_GetChannel parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - 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.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property channels in users operationId: user.joinedTeam_UpdateChannel parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property channels for users operationId: user.joinedTeam_DeleteChannel parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/allMembers': get: tags: - users.team summary: Get allMembers from users description: 'A collection of membership records associated with the channel, including both direct and indirect members of shared channels.' operationId: user.joinedTeam.channel_ListAllMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to allMembers for users operationId: user.joinedTeam.channel_CreateAllMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/allMembers/{conversationMember-id}': get: tags: - users.team summary: Get allMembers from users description: 'A collection of membership records associated with the channel, including both direct and indirect members of shared channels.' operationId: user.joinedTeam.channel_GetAllMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property allMembers in users operationId: user.joinedTeam.channel_UpdateAllMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property allMembers for users operationId: user.joinedTeam.channel_DeleteAllMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/allMembers/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.channel.allMember_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/allMembers/microsoft.graph.add': post: tags: - users.team summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: user.joinedTeam.channel.allMember_add parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/allMembers/microsoft.graph.remove': post: tags: - users.team summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: user.joinedTeam.channel.allMember_remove parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/enabledApps': get: tags: - users.team summary: Get enabledApps from users description: A collection of enabled apps in the channel. operationId: user.joinedTeam.channel_ListEnabledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.teamsAppCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/enabledApps/{teamsApp-id}': get: tags: - users.team summary: Get enabledApps from users description: A collection of enabled apps in the channel. operationId: user.joinedTeam.channel_GetEnabledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/enabledApps/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.channel.enabledApp_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/filesFolder': get: tags: - users.team summary: Get filesFolder from users description: Metadata for the location where the channel's files are stored. operationId: user.joinedTeam.channel_GetFilesFolder parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - 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.driveItem' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/filesFolder/content': get: tags: - users.team summary: Get content for the navigation property filesFolder from users description: 'The content stream, if the item represents a file.' operationId: user.joinedTeam.channel_GetFilesFolderContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: $format in: query description: Format of the content style: form explode: false schema: type: string responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - users.team summary: Update content for the navigation property filesFolder in users description: 'The content stream, if the item represents a file.' operationId: user.joinedTeam.channel_SetFilesFolderContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.driveItem' default: $ref: '#/components/responses/error' delete: tags: - users.team summary: Delete content for the navigation property filesFolder in users description: 'The content stream, if the item represents a file.' operationId: user.joinedTeam.channel_DeleteFilesFolderContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/members': get: tags: - users.team summary: Get members from users description: A collection of membership records associated with the channel. operationId: user.joinedTeam.channel_ListMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to members for users operationId: user.joinedTeam.channel_CreateMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/members/{conversationMember-id}': get: tags: - users.team summary: Get members from users description: A collection of membership records associated with the channel. operationId: user.joinedTeam.channel_GetMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property members in users operationId: user.joinedTeam.channel_UpdateMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property members for users operationId: user.joinedTeam.channel_DeleteMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/members/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.channel.member_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/members/microsoft.graph.add': post: tags: - users.team summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: user.joinedTeam.channel.member_add parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/members/microsoft.graph.remove': post: tags: - users.team summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: user.joinedTeam.channel.member_remove parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages': get: tags: - users.team summary: Get messages from users description: A collection of all the messages in the channel. A navigation property. Nullable. operationId: user.joinedTeam.channel_ListMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to messages for users operationId: user.joinedTeam.channel_CreateMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}': get: tags: - users.team summary: Get messages from users description: A collection of all the messages in the channel. A navigation property. Nullable. operationId: user.joinedTeam.channel_GetMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property messages in users operationId: user.joinedTeam.channel_UpdateMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property messages for users operationId: user.joinedTeam.channel_DeleteMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents': get: tags: - users.team summary: Get hostedContents from users description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: user.joinedTeam.channel.message_ListHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to hostedContents for users operationId: user.joinedTeam.channel.message_CreateHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}': get: tags: - users.team summary: Get hostedContents from users description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: user.joinedTeam.channel.message_GetHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property hostedContents in users operationId: user.joinedTeam.channel.message_UpdateHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property hostedContents for users operationId: user.joinedTeam.channel.message_DeleteHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - users.team summary: Get media content for the navigation property hostedContents from users description: The unique identifier for an entity. Read-only. operationId: user.joinedTeam.channel.message_GetHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - users.team summary: Update media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: user.joinedTeam.channel.message_SetHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - users.team summary: Delete media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: user.joinedTeam.channel.message_DeleteHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.channel.message.hostedContent_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/microsoft.graph.setReaction': post: tags: - users.team summary: Invoke action setReaction operationId: user.joinedTeam.channel.message_setReaction parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/microsoft.graph.softDelete': post: tags: - users.team summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: user.joinedTeam.channel.message_softDelete parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/microsoft.graph.undoSoftDelete': post: tags: - users.team summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: user.joinedTeam.channel.message_undoSoftDelete parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/microsoft.graph.unsetReaction': post: tags: - users.team summary: Invoke action unsetReaction operationId: user.joinedTeam.channel.message_unsetReaction parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies': get: tags: - users.team summary: Get replies from users description: Replies for a specified message. Supports $expand for channel messages. operationId: user.joinedTeam.channel.message_ListReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to replies for users operationId: user.joinedTeam.channel.message_CreateReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}': get: tags: - users.team summary: Get replies from users description: Replies for a specified message. Supports $expand for channel messages. operationId: user.joinedTeam.channel.message_GetReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property replies in users operationId: user.joinedTeam.channel.message_UpdateReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property replies for users operationId: user.joinedTeam.channel.message_DeleteReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents': get: tags: - users.team summary: Get hostedContents from users description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: user.joinedTeam.channel.message.reply_ListHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to hostedContents for users operationId: user.joinedTeam.channel.message.reply_CreateHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}': get: tags: - users.team summary: Get hostedContents from users description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: user.joinedTeam.channel.message.reply_GetHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property hostedContents in users operationId: user.joinedTeam.channel.message.reply_UpdateHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property hostedContents for users operationId: user.joinedTeam.channel.message.reply_DeleteHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - users.team summary: Get media content for the navigation property hostedContents from users description: The unique identifier for an entity. Read-only. operationId: user.joinedTeam.channel.message.reply_GetHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - users.team summary: Update media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: user.joinedTeam.channel.message.reply_SetHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - users.team summary: Delete media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: user.joinedTeam.channel.message.reply_DeleteHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.channel.message.reply.hostedContent_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.setReaction': post: tags: - users.team summary: Invoke action setReaction operationId: user.joinedTeam.channel.message.reply_setReaction parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.softDelete': post: tags: - users.team summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: user.joinedTeam.channel.message.reply_softDelete parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.undoSoftDelete': post: tags: - users.team summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: user.joinedTeam.channel.message.reply_undoSoftDelete parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.unsetReaction': post: tags: - users.team summary: Invoke action unsetReaction operationId: user.joinedTeam.channel.message.reply_unsetReaction parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.channel.message.reply_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/microsoft.graph.delta()': get: tags: - users.team summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: user.joinedTeam.channel.message.reply_delta parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/microsoft.graph.replyWithQuote': post: tags: - users.team summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: user.joinedTeam.channel.message.reply_replyGraphWPreQuote parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.channel.message_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/microsoft.graph.delta()': get: tags: - users.team summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: user.joinedTeam.channel.message_delta parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/microsoft.graph.replyWithQuote': post: tags: - users.team summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: user.joinedTeam.channel.message_replyGraphWPreQuote parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/microsoft.graph.archive': post: tags: - users.team summary: Invoke action archive description: 'Archive a channel in a team. When a channel is archived, users can''t send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can''t be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-1.0 operationId: user.joinedTeam.channel_archive parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: shouldSetSpoSiteReadOnlyForMembers: type: boolean default: false nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/microsoft.graph.completeMigration': post: tags: - users.team summary: Invoke action completeMigration description: 'Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-completemigration?view=graph-rest-1.0 operationId: user.joinedTeam.channel_completeMigration parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/microsoft.graph.doesUserHaveAccess(userId=''@userId'',tenantId=''@tenantId'',userPrincipalName=''@userPrincipalName'')': get: tags: - users.team summary: Invoke function doesUserHaveAccess description: Determine whether a user has access to a channel. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-doesuserhaveaccess?view=graph-rest-1.0 operationId: user.joinedTeam.channel_doesUserHaveAccess parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: userId in: query description: 'Usage: userId=''@userId''' style: form explode: false schema: type: string nullable: true - name: tenantId in: query description: 'Usage: tenantId=''@tenantId''' style: form explode: false schema: type: string nullable: true - name: userPrincipalName in: query description: 'Usage: userPrincipalName=''@userPrincipalName''' style: form explode: false schema: type: string nullable: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: boolean default: false additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/microsoft.graph.provisionEmail': post: tags: - users.team summary: Invoke action provisionEmail description: 'Provision an email address for a channel. Microsoft Teams doesn''t automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 operationId: user.joinedTeam.channel_provisionEmail parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.provisionChannelEmailResult' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/microsoft.graph.removeEmail': post: tags: - users.team summary: Invoke action removeEmail description: Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-1.0 operationId: user.joinedTeam.channel_removeEmail parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/microsoft.graph.startMigration': post: tags: - users.team summary: Invoke action startMigration description: 'Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-startmigration?view=graph-rest-1.0 operationId: user.joinedTeam.channel_startMigration parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: Action parameters content: application/json: schema: type: object properties: conversationCreationDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/microsoft.graph.unarchive': post: tags: - users.team summary: Invoke action unarchive description: 'Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-1.0 operationId: user.joinedTeam.channel_unarchive parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/sharedWithTeams': get: tags: - users.team summary: Get sharedWithTeams from users description: A collection of teams with which a channel is shared. operationId: user.joinedTeam.channel_ListSharedGraphWPreTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.sharedWithChannelTeamInfoCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to sharedWithTeams for users operationId: user.joinedTeam.channel_CreateSharedGraphWPreTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}': get: tags: - users.team summary: Get sharedWithTeams from users description: A collection of teams with which a channel is shared. operationId: user.joinedTeam.channel_GetSharedGraphWPreTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - 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.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property sharedWithTeams in users operationId: user.joinedTeam.channel_UpdateSharedGraphWPreTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property sharedWithTeams for users operationId: user.joinedTeam.channel_DeleteSharedGraphWPreTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers': get: tags: - users.team summary: Get allowedMembers from users description: A collection of team members who have access to the shared channel. operationId: user.joinedTeam.channel.sharedGraphWPreTeam_ListAllowedMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers/{conversationMember-id}': get: tags: - users.team summary: Get allowedMembers from users description: A collection of team members who have access to the shared channel. operationId: user.joinedTeam.channel.sharedGraphWPreTeam_GetAllowedMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.channel.sharedGraphWPreTeam.allowedMember_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/sharedWithTeams/{sharedWithChannelTeamInfo-id}/team': get: tags: - users.team summary: Get team from users operationId: user.joinedTeam.channel.sharedGraphWPreTeam_GetTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/sharedWithTeams/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.channel.sharedGraphWPreTeam_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/tabs': get: tags: - users.team summary: Get tabs from users description: A collection of all the tabs in the channel. A navigation property. operationId: user.joinedTeam.channel_ListTab parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $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.teamsTabCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to tabs for users operationId: user.joinedTeam.channel_CreateTab parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/tabs/{teamsTab-id}': get: tags: - users.team summary: Get tabs from users description: A collection of all the tabs in the channel. A navigation property. operationId: user.joinedTeam.channel_GetTab parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - 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.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property tabs in users operationId: user.joinedTeam.channel_UpdateTab parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property tabs for users operationId: user.joinedTeam.channel_DeleteTab parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/tabs/{teamsTab-id}/teamsApp': get: tags: - users.team summary: Get teamsApp from users description: The application that is linked to the tab. This can't be changed after tab creation. operationId: user.joinedTeam.channel.tab_GetTeamsApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/tabs/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.channel.tab_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/channels/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.channel_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/channels/microsoft.graph.getAllMessages()': get: tags: - users.team summary: Invoke function getAllMessages description: 'Retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-getallmessages?view=graph-rest-1.0 operationId: user.joinedTeam.channel_getAllMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: model in: query description: The payment model for the API style: form explode: false schema: type: string - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/joinedTeams/{team-id}/channels/microsoft.graph.getAllRetainedMessages()': get: tags: - users.team summary: Invoke function getAllRetainedMessages description: 'Get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-getallretainedmessages?view=graph-rest-1.0 operationId: user.joinedTeam.channel_getAllRetainedMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/joinedTeams/{team-id}/group': get: tags: - users.team summary: Get group from users operationId: user.joinedTeam_GetGroup parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - 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.group' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/group/serviceProvisioningErrors': get: tags: - users.team summary: Get serviceProvisioningErrors property value description: 'Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a group object. Supports $filter (eq, not, for isResolved and serviceInstance).' operationId: user.joinedTeam.group_ListServiceProvisioningError parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.serviceProvisioningErrorCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/joinedTeams/{team-id}/group/serviceProvisioningErrors/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.group.ServiceProvisioningError_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/incomingChannels': get: tags: - users.team summary: Get incomingChannels from users description: List of channels shared with the team. operationId: user.joinedTeam_ListIncomingChannel parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.channelCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/incomingChannels/{channel-id}': get: tags: - users.team summary: Get incomingChannels from users description: List of channels shared with the team. operationId: user.joinedTeam_GetIncomingChannel parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: channel-id in: path description: The unique identifier of channel required: true style: simple schema: type: string x-ms-docs-key-type: channel - 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.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/incomingChannels/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.incomingChannel_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/installedApps': get: tags: - users.team summary: Get installedApps from users description: The apps installed in this team. operationId: user.joinedTeam_ListInstalledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.teamsAppInstallationCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to installedApps for users operationId: user.joinedTeam_CreateInstalledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/installedApps/{teamsAppInstallation-id}': get: tags: - users.team summary: Get installedApps from users description: The apps installed in this team. operationId: user.joinedTeam_GetInstalledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - 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.teamsAppInstallation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property installedApps in users operationId: user.joinedTeam_UpdateInstalledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property installedApps for users operationId: user.joinedTeam_DeleteInstalledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/installedApps/{teamsAppInstallation-id}/microsoft.graph.upgrade': post: tags: - users.team summary: Invoke action upgrade description: Upgrade an app installation within a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-1.0 operationId: user.joinedTeam.installedApp_upgrade parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation requestBody: description: Action parameters content: application/json: schema: type: object properties: consentedPermissionSet: $ref: '#/components/schemas/microsoft.graph.teamsAppPermissionSet' additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/installedApps/{teamsAppInstallation-id}/teamsApp': get: tags: - users.team summary: Get teamsApp from users description: The app that is installed. operationId: user.joinedTeam.installedApp_GetTeamsApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/installedApps/{teamsAppInstallation-id}/teamsAppDefinition': get: tags: - users.team summary: Get teamsAppDefinition from users description: The details of this version of the app. operationId: user.joinedTeam.installedApp_GetTeamsAppDefinition parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAppInstallation - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/installedApps/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.installedApp_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/members': get: tags: - users.team summary: Get members from users description: Members and owners of the team. operationId: user.joinedTeam_ListMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to members for users operationId: user.joinedTeam_CreateMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/members/{conversationMember-id}': get: tags: - users.team summary: Get members from users description: Members and owners of the team. operationId: user.joinedTeam_GetMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property members in users operationId: user.joinedTeam_UpdateMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property members for users operationId: user.joinedTeam_DeleteMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/members/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.member_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/members/microsoft.graph.add': post: tags: - users.team summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: user.joinedTeam.member_add parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/joinedTeams/{team-id}/members/microsoft.graph.remove': post: tags: - users.team summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: user.joinedTeam.member_remove parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/joinedTeams/{team-id}/microsoft.graph.archive': post: tags: - users.team summary: Invoke action archive description: "Archive the specified team. \r\nWhen a team is archived, users can no longer make most changes to the team. For example, users can no longer: send or like messages on any channel in the team; edit the team's name or description; nor edit other settings. However, membership changes to the team are still allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which might occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-archive?view=graph-rest-1.0 operationId: user.joinedTeam_archive parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: shouldSetSpoSiteReadOnlyForMembers: type: boolean default: false nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/microsoft.graph.clone': post: tags: - users.team summary: Invoke action clone description: "Create a copy of a team. This operation also creates a copy of the corresponding group.\r\nYou can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. \r\nIf the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-clone?view=graph-rest-1.0 operationId: user.joinedTeam_clone parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: displayName: type: string nullable: true description: type: string nullable: true mailNickname: type: string nullable: true classification: type: string nullable: true visibility: $ref: '#/components/schemas/microsoft.graph.teamVisibilityType' partsToClone: $ref: '#/components/schemas/microsoft.graph.clonableTeamParts' additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/microsoft.graph.completeMigration': post: tags: - users.team summary: Invoke action completeMigration description: 'Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can''t import additional messages into the team. You can add members to the team after the request returns a successful response.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-completemigration?view=graph-rest-1.0 operationId: user.joinedTeam_completeMigration parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/microsoft.graph.sendActivityNotification': post: tags: - users.team summary: Invoke action sendActivityNotification description: "Send an activity feed notification in the scope of a team. For more information about sending notifications and the requirements for doing so, see\r\nsending Teams activity notifications." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-sendactivitynotification?view=graph-rest-1.0 operationId: user.joinedTeam_sendActivityNotification parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: topic: $ref: '#/components/schemas/microsoft.graph.teamworkActivityTopic' activityType: type: string nullable: true chainId: type: number format: int64 nullable: true previewText: $ref: '#/components/schemas/microsoft.graph.itemBody' teamsAppId: type: string nullable: true templateParameters: type: array items: $ref: '#/components/schemas/microsoft.graph.keyValuePair' recipient: $ref: '#/components/schemas/microsoft.graph.teamworkNotificationRecipient' iconId: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/microsoft.graph.unarchive': post: tags: - users.team summary: Invoke action unarchive description: 'Restore an archived team. This API restores users'' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-1.0 operationId: user.joinedTeam_unarchive parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/operations': get: tags: - users.team summary: Get operations from users description: The async operations that ran or are running on this team. operationId: user.joinedTeam_ListOperation parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.teamsAsyncOperationCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to operations for users operationId: user.joinedTeam_CreateOperation parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAsyncOperation' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAsyncOperation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/operations/{teamsAsyncOperation-id}': get: tags: - users.team summary: Get operations from users description: The async operations that ran or are running on this team. operationId: user.joinedTeam_GetOperation parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsAsyncOperation-id in: path description: The unique identifier of teamsAsyncOperation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAsyncOperation - 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.teamsAsyncOperation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property operations in users operationId: user.joinedTeam_UpdateOperation parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsAsyncOperation-id in: path description: The unique identifier of teamsAsyncOperation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAsyncOperation requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAsyncOperation' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAsyncOperation' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property operations for users operationId: user.joinedTeam_DeleteOperation parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsAsyncOperation-id in: path description: The unique identifier of teamsAsyncOperation required: true style: simple schema: type: string x-ms-docs-key-type: teamsAsyncOperation - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/operations/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.operation_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/permissionGrants': get: tags: - users.team summary: Get permissionGrants from users description: A collection of permissions granted to apps to access the team. operationId: user.joinedTeam_ListPermissionGrant parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.resourceSpecificPermissionGrantCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to permissionGrants for users operationId: user.joinedTeam_CreatePermissionGrant parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/permissionGrants/{resourceSpecificPermissionGrant-id}': get: tags: - users.team summary: Get permissionGrants from users description: A collection of permissions granted to apps to access the team. operationId: user.joinedTeam_GetPermissionGrant parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: resourceSpecificPermissionGrant-id in: path description: The unique identifier of resourceSpecificPermissionGrant required: true style: simple schema: type: string x-ms-docs-key-type: resourceSpecificPermissionGrant - 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.resourceSpecificPermissionGrant' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property permissionGrants in users operationId: user.joinedTeam_UpdatePermissionGrant parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: resourceSpecificPermissionGrant-id in: path description: The unique identifier of resourceSpecificPermissionGrant required: true style: simple schema: type: string x-ms-docs-key-type: resourceSpecificPermissionGrant requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property permissionGrants for users operationId: user.joinedTeam_DeletePermissionGrant parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: resourceSpecificPermissionGrant-id in: path description: The unique identifier of resourceSpecificPermissionGrant required: true style: simple schema: type: string x-ms-docs-key-type: resourceSpecificPermissionGrant - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/permissionGrants/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.permissionGrant_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/photo': get: tags: - users.team summary: Get photo from users description: The profile photo for the team. operationId: user.joinedTeam_GetPhoto parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - 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.profilePhoto' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property photo in users operationId: user.joinedTeam_UpdatePhoto parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.profilePhoto' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.profilePhoto' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/photo/$value': get: tags: - users.team summary: Get media content for the navigation property photo from users description: The profile photo for the team. operationId: user.joinedTeam_GetPhotoContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - users.team summary: Update media content for the navigation property photo in users description: The profile photo for the team. operationId: user.joinedTeam_SetPhotoContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - users.team summary: Delete media content for the navigation property photo in users description: The profile photo for the team. operationId: user.joinedTeam_DeletePhotoContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/primaryChannel': get: tags: - users.team summary: Get primaryChannel from users description: The general channel for the team. operationId: user.joinedTeam_GetPrimaryChannel parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - 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.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property primaryChannel in users operationId: user.joinedTeam_UpdatePrimaryChannel parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.channel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property primaryChannel for users operationId: user.joinedTeam_DeletePrimaryChannel parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/allMembers': get: tags: - users.team summary: Get allMembers from users description: 'A collection of membership records associated with the channel, including both direct and indirect members of shared channels.' operationId: user.joinedTeam.primaryChannel_ListAllMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to allMembers for users operationId: user.joinedTeam.primaryChannel_CreateAllMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/allMembers/{conversationMember-id}': get: tags: - users.team summary: Get allMembers from users description: 'A collection of membership records associated with the channel, including both direct and indirect members of shared channels.' operationId: user.joinedTeam.primaryChannel_GetAllMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property allMembers in users operationId: user.joinedTeam.primaryChannel_UpdateAllMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property allMembers for users operationId: user.joinedTeam.primaryChannel_DeleteAllMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/allMembers/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.primaryChannel.allMember_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/allMembers/microsoft.graph.add': post: tags: - users.team summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel.allMember_add parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/allMembers/microsoft.graph.remove': post: tags: - users.team summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel.allMember_remove parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/enabledApps': get: tags: - users.team summary: Get enabledApps from users description: A collection of enabled apps in the channel. operationId: user.joinedTeam.primaryChannel_ListEnabledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.teamsAppCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/enabledApps/{teamsApp-id}': get: tags: - users.team summary: Get enabledApps from users description: A collection of enabled apps in the channel. operationId: user.joinedTeam.primaryChannel_GetEnabledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsApp-id in: path description: The unique identifier of teamsApp required: true style: simple schema: type: string x-ms-docs-key-type: teamsApp - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/enabledApps/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.primaryChannel.enabledApp_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/filesFolder': get: tags: - users.team summary: Get filesFolder from users description: Metadata for the location where the channel's files are stored. operationId: user.joinedTeam.primaryChannel_GetFilesFolder parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - 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.driveItem' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/filesFolder/content': get: tags: - users.team summary: Get content for the navigation property filesFolder from users description: 'The content stream, if the item represents a file.' operationId: user.joinedTeam.primaryChannel_GetFilesFolderContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: $format in: query description: Format of the content style: form explode: false schema: type: string responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - users.team summary: Update content for the navigation property filesFolder in users description: 'The content stream, if the item represents a file.' operationId: user.joinedTeam.primaryChannel_SetFilesFolderContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.driveItem' default: $ref: '#/components/responses/error' delete: tags: - users.team summary: Delete content for the navigation property filesFolder in users description: 'The content stream, if the item represents a file.' operationId: user.joinedTeam.primaryChannel_DeleteFilesFolderContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/members': get: tags: - users.team summary: Get members from users description: A collection of membership records associated with the channel. operationId: user.joinedTeam.primaryChannel_ListMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to members for users operationId: user.joinedTeam.primaryChannel_CreateMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/members/{conversationMember-id}': get: tags: - users.team summary: Get members from users description: A collection of membership records associated with the channel. operationId: user.joinedTeam.primaryChannel_GetMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property members in users operationId: user.joinedTeam.primaryChannel_UpdateMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property members for users operationId: user.joinedTeam.primaryChannel_DeleteMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/members/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.primaryChannel.member_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/members/microsoft.graph.add': post: tags: - users.team summary: Invoke action add description: Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel.member_add parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/members/microsoft.graph.remove': post: tags: - users.team summary: Invoke action remove description: Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel.member_remove parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.actionResultPart' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages': get: tags: - users.team summary: Get messages from users description: A collection of all the messages in the channel. A navigation property. Nullable. operationId: user.joinedTeam.primaryChannel_ListMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to messages for users operationId: user.joinedTeam.primaryChannel_CreateMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}': get: tags: - users.team summary: Get messages from users description: A collection of all the messages in the channel. A navigation property. Nullable. operationId: user.joinedTeam.primaryChannel_GetMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property messages in users operationId: user.joinedTeam.primaryChannel_UpdateMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property messages for users operationId: user.joinedTeam.primaryChannel_DeleteMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/hostedContents': get: tags: - users.team summary: Get hostedContents from users description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: user.joinedTeam.primaryChannel.message_ListHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to hostedContents for users operationId: user.joinedTeam.primaryChannel.message_CreateHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}': get: tags: - users.team summary: Get hostedContents from users description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: user.joinedTeam.primaryChannel.message_GetHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property hostedContents in users operationId: user.joinedTeam.primaryChannel.message_UpdateHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property hostedContents for users operationId: user.joinedTeam.primaryChannel.message_DeleteHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - users.team summary: Get media content for the navigation property hostedContents from users description: The unique identifier for an entity. Read-only. operationId: user.joinedTeam.primaryChannel.message_GetHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - users.team summary: Update media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: user.joinedTeam.primaryChannel.message_SetHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - users.team summary: Delete media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: user.joinedTeam.primaryChannel.message_DeleteHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/hostedContents/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.primaryChannel.message.hostedContent_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/microsoft.graph.setReaction': post: tags: - users.team summary: Invoke action setReaction operationId: user.joinedTeam.primaryChannel.message_setReaction parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/microsoft.graph.softDelete': post: tags: - users.team summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel.message_softDelete parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/microsoft.graph.undoSoftDelete': post: tags: - users.team summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel.message_undoSoftDelete parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/microsoft.graph.unsetReaction': post: tags: - users.team summary: Invoke action unsetReaction operationId: user.joinedTeam.primaryChannel.message_unsetReaction parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies': get: tags: - users.team summary: Get replies from users description: Replies for a specified message. Supports $expand for channel messages. operationId: user.joinedTeam.primaryChannel.message_ListReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to replies for users operationId: user.joinedTeam.primaryChannel.message_CreateReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}': get: tags: - users.team summary: Get replies from users description: Replies for a specified message. Supports $expand for channel messages. operationId: user.joinedTeam.primaryChannel.message_GetReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - 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.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property replies in users operationId: user.joinedTeam.primaryChannel.message_UpdateReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property replies for users operationId: user.joinedTeam.primaryChannel.message_DeleteReply parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents': get: tags: - users.team summary: Get hostedContents from users description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: user.joinedTeam.primaryChannel.message.reply_ListHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $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.chatMessageHostedContentCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to hostedContents for users operationId: user.joinedTeam.primaryChannel.message.reply_CreateHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}': get: tags: - users.team summary: Get hostedContents from users description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' operationId: user.joinedTeam.primaryChannel.message.reply_GetHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - 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.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property hostedContents in users operationId: user.joinedTeam.primaryChannel.message.reply_UpdateHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property hostedContents for users operationId: user.joinedTeam.primaryChannel.message.reply_DeleteHostedContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value': get: tags: - users.team summary: Get media content for the navigation property hostedContents from users description: The unique identifier for an entity. Read-only. operationId: user.joinedTeam.primaryChannel.message.reply_GetHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - users.team summary: Update media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: user.joinedTeam.primaryChannel.message.reply_SetHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' delete: tags: - users.team summary: Delete media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: user.joinedTeam.primaryChannel.message.reply_DeleteHostedContentsContent parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true style: simple schema: type: string x-ms-docs-key-type: chatMessageHostedContent - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.primaryChannel.message.reply.hostedContent_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.setReaction': post: tags: - users.team summary: Invoke action setReaction operationId: user.joinedTeam.primaryChannel.message.reply_setReaction parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.softDelete': post: tags: - users.team summary: Invoke action softDelete description: Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel.message.reply_softDelete parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.undoSoftDelete': post: tags: - users.team summary: Invoke action undoSoftDelete description: Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel.message.reply_undoSoftDelete parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/microsoft.graph.unsetReaction': post: tags: - users.team summary: Invoke action unsetReaction operationId: user.joinedTeam.primaryChannel.message.reply_unsetReaction parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.primaryChannel.message.reply_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/microsoft.graph.delta()': get: tags: - users.team summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel.message.reply_delta parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/microsoft.graph.replyWithQuote': post: tags: - users.team summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel.message.reply_replyGraphWPreQuote parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true style: simple schema: type: string x-ms-docs-key-type: chatMessage requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.primaryChannel.message_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/microsoft.graph.delta()': get: tags: - users.team summary: Invoke function delta description: 'Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel.message_delta parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/microsoft.graph.replyWithQuote': post: tags: - users.team summary: Invoke action replyWithQuote description: Reply with quote to a single chat message or multiple chat messages in a chat. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel.message_replyGraphWPreQuote parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: messageIds: type: array items: type: string replyMessage: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/microsoft.graph.archive': post: tags: - users.team summary: Invoke action archive description: 'Archive a channel in a team. When a channel is archived, users can''t send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can''t be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel_archive parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: shouldSetSpoSiteReadOnlyForMembers: type: boolean default: false nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/microsoft.graph.completeMigration': post: tags: - users.team summary: Invoke action completeMigration description: 'Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-completemigration?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel_completeMigration parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/microsoft.graph.doesUserHaveAccess(userId=''@userId'',tenantId=''@tenantId'',userPrincipalName=''@userPrincipalName'')': get: tags: - users.team summary: Invoke function doesUserHaveAccess description: Determine whether a user has access to a channel. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-doesuserhaveaccess?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel_doesUserHaveAccess parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: userId in: query description: 'Usage: userId=''@userId''' style: form explode: false schema: type: string nullable: true - name: tenantId in: query description: 'Usage: tenantId=''@tenantId''' style: form explode: false schema: type: string nullable: true - name: userPrincipalName in: query description: 'Usage: userPrincipalName=''@userPrincipalName''' style: form explode: false schema: type: string nullable: true responses: 2XX: description: Success content: application/json: schema: type: object properties: value: type: boolean default: false additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/microsoft.graph.provisionEmail': post: tags: - users.team summary: Invoke action provisionEmail description: 'Provision an email address for a channel. Microsoft Teams doesn''t automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel_provisionEmail parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.provisionChannelEmailResult' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/microsoft.graph.removeEmail': post: tags: - users.team summary: Invoke action removeEmail description: Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel_removeEmail parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/microsoft.graph.startMigration': post: tags: - users.team summary: Invoke action startMigration description: 'Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-startmigration?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel_startMigration parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: conversationCreationDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/microsoft.graph.unarchive': post: tags: - users.team summary: Invoke action unarchive description: 'Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-1.0 operationId: user.joinedTeam.primaryChannel_unarchive parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/sharedWithTeams': get: tags: - users.team summary: Get sharedWithTeams from users description: A collection of teams with which a channel is shared. operationId: user.joinedTeam.primaryChannel_ListSharedGraphWPreTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.sharedWithChannelTeamInfoCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to sharedWithTeams for users operationId: user.joinedTeam.primaryChannel_CreateSharedGraphWPreTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo-id}': get: tags: - users.team summary: Get sharedWithTeams from users description: A collection of teams with which a channel is shared. operationId: user.joinedTeam.primaryChannel_GetSharedGraphWPreTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - 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.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property sharedWithTeams in users operationId: user.joinedTeam.primaryChannel_UpdateSharedGraphWPreTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property sharedWithTeams for users operationId: user.joinedTeam.primaryChannel_DeleteSharedGraphWPreTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers': get: tags: - users.team summary: Get allowedMembers from users description: A collection of team members who have access to the shared channel. operationId: user.joinedTeam.primaryChannel.sharedGraphWPreTeam_ListAllowedMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - $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.conversationMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers/{conversationMember-id}': get: tags: - users.team summary: Get allowedMembers from users description: A collection of team members who have access to the shared channel. operationId: user.joinedTeam.primaryChannel.sharedGraphWPreTeam_GetAllowedMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true style: simple schema: type: string x-ms-docs-key-type: conversationMember - 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.conversationMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo-id}/allowedMembers/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.primaryChannel.sharedGraphWPreTeam.allowedMember_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo-id}/team': get: tags: - users.team summary: Get team from users operationId: user.joinedTeam.primaryChannel.sharedGraphWPreTeam_GetTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: sharedWithChannelTeamInfo-id in: path description: The unique identifier of sharedWithChannelTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: sharedWithChannelTeamInfo - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/sharedWithTeams/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.primaryChannel.sharedGraphWPreTeam_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/tabs': get: tags: - users.team summary: Get tabs from users description: A collection of all the tabs in the channel. A navigation property. operationId: user.joinedTeam.primaryChannel_ListTab parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.teamsTabCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to tabs for users operationId: user.joinedTeam.primaryChannel_CreateTab parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/tabs/{teamsTab-id}': get: tags: - users.team summary: Get tabs from users description: A collection of all the tabs in the channel. A navigation property. operationId: user.joinedTeam.primaryChannel_GetTab parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - 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.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property tabs in users operationId: user.joinedTeam.primaryChannel_UpdateTab parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property tabs for users operationId: user.joinedTeam.primaryChannel_DeleteTab parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/tabs/{teamsTab-id}/teamsApp': get: tags: - users.team summary: Get teamsApp from users description: The application that is linked to the tab. This can't be changed after tab creation. operationId: user.joinedTeam.primaryChannel.tab_GetTeamsApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true style: simple schema: type: string x-ms-docs-key-type: teamsTab - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/primaryChannel/tabs/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.primaryChannel.tab_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/schedule': get: tags: - users.team summary: Get schedule from users description: The schedule of shifts for this team. operationId: user.joinedTeam_GetSchedule parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - 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.schedule' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation put: tags: - users.team summary: Update the navigation property schedule in users operationId: user.joinedTeam_SetSchedule parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.schedule' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.schedule' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property schedule for users operationId: user.joinedTeam_DeleteSchedule parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/dayNotes': get: tags: - users.team summary: Get dayNotes from users description: The day notes in the schedule. operationId: user.joinedTeam.schedule_ListDayNote parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.dayNoteCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to dayNotes for users operationId: user.joinedTeam.schedule_CreateDayNote parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.dayNote' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.dayNote' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/dayNotes/{dayNote-id}': get: tags: - users.team summary: Get dayNotes from users description: The day notes in the schedule. operationId: user.joinedTeam.schedule_GetDayNote parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: dayNote-id in: path description: The unique identifier of dayNote required: true style: simple schema: type: string x-ms-docs-key-type: dayNote - 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.dayNote' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property dayNotes in users operationId: user.joinedTeam.schedule_UpdateDayNote parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: dayNote-id in: path description: The unique identifier of dayNote required: true style: simple schema: type: string x-ms-docs-key-type: dayNote requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.dayNote' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.dayNote' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property dayNotes for users operationId: user.joinedTeam.schedule_DeleteDayNote parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: dayNote-id in: path description: The unique identifier of dayNote required: true style: simple schema: type: string x-ms-docs-key-type: dayNote - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/dayNotes/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.schedule.dayNote_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/schedule/microsoft.graph.share': post: tags: - users.team summary: Invoke action share description: 'Share a schedule time range with schedule members. This action makes the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers. Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/schedule-share?view=graph-rest-1.0 operationId: user.joinedTeam.schedule_share parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: notifyTeam: type: boolean default: false nullable: true startDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time nullable: true endDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/schedule/offerShiftRequests': get: tags: - users.team summary: Get offerShiftRequests from users description: The offer requests for shifts in the schedule. operationId: user.joinedTeam.schedule_ListOfferShiftRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.offerShiftRequestCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to offerShiftRequests for users operationId: user.joinedTeam.schedule_CreateOfferShiftRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.offerShiftRequest' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.offerShiftRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/offerShiftRequests/{offerShiftRequest-id}': get: tags: - users.team summary: Get offerShiftRequests from users description: The offer requests for shifts in the schedule. operationId: user.joinedTeam.schedule_GetOfferShiftRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: offerShiftRequest-id in: path description: The unique identifier of offerShiftRequest required: true style: simple schema: type: string x-ms-docs-key-type: offerShiftRequest - 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.offerShiftRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property offerShiftRequests in users operationId: user.joinedTeam.schedule_UpdateOfferShiftRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: offerShiftRequest-id in: path description: The unique identifier of offerShiftRequest required: true style: simple schema: type: string x-ms-docs-key-type: offerShiftRequest requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.offerShiftRequest' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.offerShiftRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property offerShiftRequests for users operationId: user.joinedTeam.schedule_DeleteOfferShiftRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: offerShiftRequest-id in: path description: The unique identifier of offerShiftRequest required: true style: simple schema: type: string x-ms-docs-key-type: offerShiftRequest - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/offerShiftRequests/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.schedule.offerShiftRequest_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/schedule/openShiftChangeRequests': get: tags: - users.team summary: Get openShiftChangeRequests from users description: The open shift requests in the schedule. operationId: user.joinedTeam.schedule_ListOpenShiftChangeRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.openShiftChangeRequestCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to openShiftChangeRequests for users operationId: user.joinedTeam.schedule_CreateOpenShiftChangeRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShiftChangeRequest' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShiftChangeRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/openShiftChangeRequests/{openShiftChangeRequest-id}': get: tags: - users.team summary: Get openShiftChangeRequests from users description: The open shift requests in the schedule. operationId: user.joinedTeam.schedule_GetOpenShiftChangeRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: openShiftChangeRequest-id in: path description: The unique identifier of openShiftChangeRequest required: true style: simple schema: type: string x-ms-docs-key-type: openShiftChangeRequest - 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.openShiftChangeRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property openShiftChangeRequests in users operationId: user.joinedTeam.schedule_UpdateOpenShiftChangeRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: openShiftChangeRequest-id in: path description: The unique identifier of openShiftChangeRequest required: true style: simple schema: type: string x-ms-docs-key-type: openShiftChangeRequest requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShiftChangeRequest' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShiftChangeRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property openShiftChangeRequests for users operationId: user.joinedTeam.schedule_DeleteOpenShiftChangeRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: openShiftChangeRequest-id in: path description: The unique identifier of openShiftChangeRequest required: true style: simple schema: type: string x-ms-docs-key-type: openShiftChangeRequest - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/openShiftChangeRequests/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.schedule.openShiftChangeRequest_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/schedule/openShifts': get: tags: - users.team summary: Get openShifts from users description: The set of open shifts in a scheduling group in the schedule. operationId: user.joinedTeam.schedule_ListOpenShift parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.openShiftCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to openShifts for users operationId: user.joinedTeam.schedule_CreateOpenShift parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShift' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShift' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/openShifts/{openShift-id}': get: tags: - users.team summary: Get openShifts from users description: The set of open shifts in a scheduling group in the schedule. operationId: user.joinedTeam.schedule_GetOpenShift parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: openShift-id in: path description: The unique identifier of openShift required: true style: simple schema: type: string x-ms-docs-key-type: openShift - 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.openShift' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property openShifts in users operationId: user.joinedTeam.schedule_UpdateOpenShift parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: openShift-id in: path description: The unique identifier of openShift required: true style: simple schema: type: string x-ms-docs-key-type: openShift requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShift' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.openShift' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property openShifts for users operationId: user.joinedTeam.schedule_DeleteOpenShift parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: openShift-id in: path description: The unique identifier of openShift required: true style: simple schema: type: string x-ms-docs-key-type: openShift - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/openShifts/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.schedule.openShift_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/schedule/schedulingGroups': get: tags: - users.team summary: Get schedulingGroups from users description: The logical grouping of users in the schedule (usually by role). operationId: user.joinedTeam.schedule_ListSchedulingGroup parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.schedulingGroupCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to schedulingGroups for users operationId: user.joinedTeam.schedule_CreateSchedulingGroup parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.schedulingGroup' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.schedulingGroup' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/schedulingGroups/{schedulingGroup-id}': get: tags: - users.team summary: Get schedulingGroups from users description: The logical grouping of users in the schedule (usually by role). operationId: user.joinedTeam.schedule_GetSchedulingGroup parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: schedulingGroup-id in: path description: The unique identifier of schedulingGroup required: true style: simple schema: type: string x-ms-docs-key-type: schedulingGroup - 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.schedulingGroup' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property schedulingGroups in users operationId: user.joinedTeam.schedule_UpdateSchedulingGroup parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: schedulingGroup-id in: path description: The unique identifier of schedulingGroup required: true style: simple schema: type: string x-ms-docs-key-type: schedulingGroup requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.schedulingGroup' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.schedulingGroup' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property schedulingGroups for users operationId: user.joinedTeam.schedule_DeleteSchedulingGroup parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: schedulingGroup-id in: path description: The unique identifier of schedulingGroup required: true style: simple schema: type: string x-ms-docs-key-type: schedulingGroup - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/schedulingGroups/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.schedule.schedulingGroup_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/schedule/shifts': get: tags: - users.team summary: Get shifts from users description: The shifts in the schedule. operationId: user.joinedTeam.schedule_ListShift parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.shiftCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to shifts for users operationId: user.joinedTeam.schedule_CreateShift parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.shift' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.shift' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/shifts/{shift-id}': get: tags: - users.team summary: Get shifts from users description: The shifts in the schedule. operationId: user.joinedTeam.schedule_GetShift parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: shift-id in: path description: The unique identifier of shift required: true style: simple schema: type: string x-ms-docs-key-type: shift - 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.shift' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property shifts in users operationId: user.joinedTeam.schedule_UpdateShift parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: shift-id in: path description: The unique identifier of shift required: true style: simple schema: type: string x-ms-docs-key-type: shift requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.shift' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.shift' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property shifts for users operationId: user.joinedTeam.schedule_DeleteShift parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: shift-id in: path description: The unique identifier of shift required: true style: simple schema: type: string x-ms-docs-key-type: shift - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/shifts/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.schedule.shift_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/schedule/swapShiftsChangeRequests': get: tags: - users.team summary: Get swapShiftsChangeRequests from users description: The swap requests for shifts in the schedule. operationId: user.joinedTeam.schedule_ListSwapShiftsChangeRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.swapShiftsChangeRequestCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to swapShiftsChangeRequests for users operationId: user.joinedTeam.schedule_CreateSwapShiftsChangeRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.swapShiftsChangeRequest' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.swapShiftsChangeRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/swapShiftsChangeRequests/{swapShiftsChangeRequest-id}': get: tags: - users.team summary: Get swapShiftsChangeRequests from users description: The swap requests for shifts in the schedule. operationId: user.joinedTeam.schedule_GetSwapShiftsChangeRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: swapShiftsChangeRequest-id in: path description: The unique identifier of swapShiftsChangeRequest required: true style: simple schema: type: string x-ms-docs-key-type: swapShiftsChangeRequest - 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.swapShiftsChangeRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property swapShiftsChangeRequests in users operationId: user.joinedTeam.schedule_UpdateSwapShiftsChangeRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: swapShiftsChangeRequest-id in: path description: The unique identifier of swapShiftsChangeRequest required: true style: simple schema: type: string x-ms-docs-key-type: swapShiftsChangeRequest requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.swapShiftsChangeRequest' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.swapShiftsChangeRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property swapShiftsChangeRequests for users operationId: user.joinedTeam.schedule_DeleteSwapShiftsChangeRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: swapShiftsChangeRequest-id in: path description: The unique identifier of swapShiftsChangeRequest required: true style: simple schema: type: string x-ms-docs-key-type: swapShiftsChangeRequest - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/swapShiftsChangeRequests/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.schedule.swapShiftsChangeRequest_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/schedule/timeCards': get: tags: - users.team summary: Get timeCards from users description: The time cards in the schedule. operationId: user.joinedTeam.schedule_ListTimeCard parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.timeCardCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to timeCards for users operationId: user.joinedTeam.schedule_CreateTimeCard parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/timeCards/{timeCard-id}': get: tags: - users.team summary: Get timeCards from users description: The time cards in the schedule. operationId: user.joinedTeam.schedule_GetTimeCard parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard - 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.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property timeCards in users operationId: user.joinedTeam.schedule_UpdateTimeCard parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property timeCards for users operationId: user.joinedTeam.schedule_DeleteTimeCard parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/timeCards/{timeCard-id}/microsoft.graph.clockOut': post: tags: - users.team summary: Invoke action clockOut operationId: user.joinedTeam.schedule.timeCard_clockOut parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard requestBody: description: Action parameters content: application/json: schema: type: object properties: isAtApprovedLocation: type: boolean default: false nullable: true notes: $ref: '#/components/schemas/microsoft.graph.itemBody' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/schedule/timeCards/{timeCard-id}/microsoft.graph.confirm': post: tags: - users.team summary: Invoke action confirm description: Confirm a timeCard. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-1.0 operationId: user.joinedTeam.schedule.timeCard_confirm parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/schedule/timeCards/{timeCard-id}/microsoft.graph.endBreak': post: tags: - users.team summary: Invoke action endBreak operationId: user.joinedTeam.schedule.timeCard_endBreak parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard requestBody: description: Action parameters content: application/json: schema: type: object properties: isAtApprovedLocation: type: boolean default: false nullable: true notes: $ref: '#/components/schemas/microsoft.graph.itemBody' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/schedule/timeCards/{timeCard-id}/microsoft.graph.startBreak': post: tags: - users.team summary: Invoke action startBreak operationId: user.joinedTeam.schedule.timeCard_startBreak parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeCard-id in: path description: The unique identifier of timeCard required: true style: simple schema: type: string x-ms-docs-key-type: timeCard requestBody: description: Action parameters content: application/json: schema: type: object properties: isAtApprovedLocation: type: boolean default: false nullable: true notes: $ref: '#/components/schemas/microsoft.graph.itemBody' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/schedule/timeCards/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.schedule.timeCard_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/schedule/timeCards/microsoft.graph.clockIn': post: tags: - users.team summary: Invoke action clockIn description: Clock in to start a timeCard. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/timecard-clockin?view=graph-rest-1.0 operationId: user.joinedTeam.schedule.timeCard_clockIn parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: Action parameters content: application/json: schema: type: object properties: isAtApprovedLocation: type: boolean default: false nullable: true onBehalfOfUserId: type: string nullable: true notes: $ref: '#/components/schemas/microsoft.graph.itemBody' additionalProperties: type: object required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeCard' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/joinedTeams/{team-id}/schedule/timeOffReasons': get: tags: - users.team summary: Get timeOffReasons from users description: The set of reasons for a time off in the schedule. operationId: user.joinedTeam.schedule_ListTimeOffReason parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.timeOffReasonCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to timeOffReasons for users operationId: user.joinedTeam.schedule_CreateTimeOffReason parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffReason' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffReason' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/timeOffReasons/{timeOffReason-id}': get: tags: - users.team summary: Get timeOffReasons from users description: The set of reasons for a time off in the schedule. operationId: user.joinedTeam.schedule_GetTimeOffReason parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeOffReason-id in: path description: The unique identifier of timeOffReason required: true style: simple schema: type: string x-ms-docs-key-type: timeOffReason - 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.timeOffReason' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property timeOffReasons in users operationId: user.joinedTeam.schedule_UpdateTimeOffReason parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeOffReason-id in: path description: The unique identifier of timeOffReason required: true style: simple schema: type: string x-ms-docs-key-type: timeOffReason requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffReason' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffReason' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property timeOffReasons for users operationId: user.joinedTeam.schedule_DeleteTimeOffReason parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeOffReason-id in: path description: The unique identifier of timeOffReason required: true style: simple schema: type: string x-ms-docs-key-type: timeOffReason - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/timeOffReasons/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.schedule.timeOffReason_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/schedule/timeOffRequests': get: tags: - users.team summary: Get timeOffRequests from users description: The time off requests in the schedule. operationId: user.joinedTeam.schedule_ListTimeOffRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.timeOffRequestCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to timeOffRequests for users operationId: user.joinedTeam.schedule_CreateTimeOffRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffRequest' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/timeOffRequests/{timeOffRequest-id}': get: tags: - users.team summary: Get timeOffRequests from users description: The time off requests in the schedule. operationId: user.joinedTeam.schedule_GetTimeOffRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeOffRequest-id in: path description: The unique identifier of timeOffRequest required: true style: simple schema: type: string x-ms-docs-key-type: timeOffRequest - 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.timeOffRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property timeOffRequests in users operationId: user.joinedTeam.schedule_UpdateTimeOffRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeOffRequest-id in: path description: The unique identifier of timeOffRequest required: true style: simple schema: type: string x-ms-docs-key-type: timeOffRequest requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffRequest' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOffRequest' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property timeOffRequests for users operationId: user.joinedTeam.schedule_DeleteTimeOffRequest parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeOffRequest-id in: path description: The unique identifier of timeOffRequest required: true style: simple schema: type: string x-ms-docs-key-type: timeOffRequest - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/timeOffRequests/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.schedule.timeOffRequest_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/schedule/timesOff': get: tags: - users.team summary: Get timesOff from users description: The instances of times off in the schedule. operationId: user.joinedTeam.schedule_ListTimesOff parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.timeOffCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to timesOff for users operationId: user.joinedTeam.schedule_CreateTimesOff parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOff' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOff' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/timesOff/{timeOff-id}': get: tags: - users.team summary: Get timesOff from users description: The instances of times off in the schedule. operationId: user.joinedTeam.schedule_GetTimesOff parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeOff-id in: path description: The unique identifier of timeOff required: true style: simple schema: type: string x-ms-docs-key-type: timeOff - 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.timeOff' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property timesOff in users operationId: user.joinedTeam.schedule_UpdateTimesOff parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeOff-id in: path description: The unique identifier of timeOff required: true style: simple schema: type: string x-ms-docs-key-type: timeOff requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOff' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.timeOff' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property timesOff for users operationId: user.joinedTeam.schedule_DeleteTimesOff parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: timeOff-id in: path description: The unique identifier of timeOff required: true style: simple schema: type: string x-ms-docs-key-type: timeOff - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/schedule/timesOff/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.schedule.timesOff_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/tags': get: tags: - users.team summary: Get tags from users description: The tags associated with the team. operationId: user.joinedTeam_ListTag parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $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.teamworkTagCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to tags for users operationId: user.joinedTeam_CreateTag parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTag' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTag' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/tags/{teamworkTag-id}': get: tags: - users.team summary: Get tags from users description: The tags associated with the team. operationId: user.joinedTeam_GetTag parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - 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.teamworkTag' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property tags in users operationId: user.joinedTeam_UpdateTag parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTag' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTag' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property tags for users operationId: user.joinedTeam_DeleteTag parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/tags/{teamworkTag-id}/members': get: tags: - users.team summary: Get members from users description: Users assigned to the tag. operationId: user.joinedTeam.tag_ListMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - $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.teamworkTagMemberCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.team summary: Create new navigation property to members for users operationId: user.joinedTeam.tag_CreateMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTagMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTagMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/tags/{teamworkTag-id}/members/{teamworkTagMember-id}': get: tags: - users.team summary: Get members from users description: Users assigned to the tag. operationId: user.joinedTeam.tag_GetMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - name: teamworkTagMember-id in: path description: The unique identifier of teamworkTagMember required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTagMember - 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.teamworkTagMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.team summary: Update the navigation property members in users operationId: user.joinedTeam.tag_UpdateMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - name: teamworkTagMember-id in: path description: The unique identifier of teamworkTagMember required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTagMember requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTagMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamworkTagMember' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.team summary: Delete navigation property members for users operationId: user.joinedTeam.tag_DeleteMember parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - name: teamworkTagMember-id in: path description: The unique identifier of teamworkTagMember required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTagMember - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/{team-id}/tags/{teamworkTag-id}/members/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.tag.member_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - name: teamworkTag-id in: path description: The unique identifier of teamworkTag required: true style: simple schema: type: string x-ms-docs-key-type: teamworkTag - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/tags/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam.tag_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/{team-id}/template': get: tags: - users.team summary: Get template from users description: The template this team was created from. See available templates. operationId: user.joinedTeam_GetTemplate parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: team-id in: path description: The unique identifier of team required: true style: simple schema: type: string x-ms-docs-key-type: team - 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.teamsTemplate' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/joinedTeams/$count': get: tags: - users.team summary: Get the number of the resource operationId: user.joinedTeam_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/joinedTeams/microsoft.graph.getAllMessages()': get: tags: - users.team summary: Invoke function getAllMessages operationId: user.joinedTeam_getAllMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: model in: query description: The payment model for the API style: form explode: false schema: type: string - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/teamwork': get: tags: - users.userTeamwork summary: Get userTeamwork description: 'Get the userTeamwork settings for a specified user, which includes the Microsoft Teams region and the locale chosen by the user.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/userteamwork-get?view=graph-rest-1.0 operationId: user_GetTeamwork parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.userTeamwork summary: Update the navigation property teamwork in users operationId: user_UpdateTeamwork parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.userTeamwork summary: Delete navigation property teamwork for users operationId: user_DeleteTeamwork parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/teamwork/associatedTeams': get: tags: - users.userTeamwork summary: Get associatedTeams from users description: The list of associatedTeamInfo objects that a user is associated with. operationId: user.teamwork_ListAssociatedTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - $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' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.userTeamwork summary: Create new navigation property to associatedTeams for users operationId: user.teamwork_CreateAssociatedTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/teamwork/associatedTeams/{associatedTeamInfo-id}': get: tags: - users.userTeamwork summary: Get associatedTeams from users description: The list of associatedTeamInfo objects that a user is associated with. operationId: user.teamwork_GetAssociatedTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: associatedTeamInfo-id in: path description: The unique identifier of associatedTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: associatedTeamInfo - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.userTeamwork summary: Update the navigation property associatedTeams in users operationId: user.teamwork_UpdateAssociatedTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: associatedTeamInfo-id in: path description: The unique identifier of associatedTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: associatedTeamInfo 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.userTeamwork summary: Delete navigation property associatedTeams for users operationId: user.teamwork_DeleteAssociatedTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: associatedTeamInfo-id in: path description: The unique identifier of associatedTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: associatedTeamInfo - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/teamwork/associatedTeams/{associatedTeamInfo-id}/team': get: tags: - users.userTeamwork summary: Get team from users operationId: user.teamwork.associatedTeam_GetTeam parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: associatedTeamInfo-id in: path description: The unique identifier of associatedTeamInfo required: true style: simple schema: type: string x-ms-docs-key-type: associatedTeamInfo - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/teamwork/associatedTeams/$count': get: tags: - users.userTeamwork summary: Get the number of the resource operationId: user.teamwork.associatedTeam_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/teamwork/installedApps': get: tags: - users.userTeamwork summary: List apps installed for user description: Retrieve the list of apps installed in the personal scope of the specified user. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/userteamwork-list-installedapps?view=graph-rest-1.0 operationId: user.teamwork_ListInstalledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - $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' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - users.userTeamwork summary: Install app for user description: Install an app in the personal scope of the specified user. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/userteamwork-post-installedapps?view=graph-rest-1.0 operationId: user.teamwork_CreateInstalledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/teamwork/installedApps/{userScopeTeamsAppInstallation-id}': get: tags: - users.userTeamwork summary: Get installed app for user description: Retrieve the app installed in the personal scope of the specified user. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/userteamwork-get-installedapps?view=graph-rest-1.0 operationId: user.teamwork_GetInstalledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: userScopeTeamsAppInstallation-id in: path description: The unique identifier of userScopeTeamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: userScopeTeamsAppInstallation - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - users.userTeamwork summary: Update the navigation property installedApps in users operationId: user.teamwork_UpdateInstalledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: userScopeTeamsAppInstallation-id in: path description: The unique identifier of userScopeTeamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: userScopeTeamsAppInstallation 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.userTeamwork summary: Uninstall app for user description: Uninstall an app from the personal scope of the specified user. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/userteamwork-delete-installedapps?view=graph-rest-1.0 operationId: user.teamwork_DeleteInstalledApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: userScopeTeamsAppInstallation-id in: path description: The unique identifier of userScopeTeamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: userScopeTeamsAppInstallation - name: If-Match in: header description: ETag style: simple schema: type: string responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/teamwork/installedApps/{userScopeTeamsAppInstallation-id}/chat': get: tags: - users.userTeamwork summary: Get chat between user and teamsApp description: Retrieve the chat of the specified user and Teams app. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/userscopeteamsappinstallation-get-chat?view=graph-rest-1.0 operationId: user.teamwork.installedApp_GetChat parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: userScopeTeamsAppInstallation-id in: path description: The unique identifier of userScopeTeamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: userScopeTeamsAppInstallation - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/teamwork/installedApps/{userScopeTeamsAppInstallation-id}/teamsApp': get: tags: - users.userTeamwork summary: Get teamsApp from users description: The app that is installed. operationId: user.teamwork.installedApp_GetTeamsApp parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: userScopeTeamsAppInstallation-id in: path description: The unique identifier of userScopeTeamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: userScopeTeamsAppInstallation - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/teamwork/installedApps/{userScopeTeamsAppInstallation-id}/teamsAppDefinition': get: tags: - users.userTeamwork summary: Get teamsAppDefinition from users description: The details of this version of the app. operationId: user.teamwork.installedApp_GetTeamsAppDefinition parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - name: userScopeTeamsAppInstallation-id in: path description: The unique identifier of userScopeTeamsAppInstallation required: true style: simple schema: type: string x-ms-docs-key-type: userScopeTeamsAppInstallation - 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' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/users/{user-id}/teamwork/installedApps/$count': get: tags: - users.userTeamwork summary: Get the number of the resource operationId: user.teamwork.installedApp_GetCount parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/users/{user-id}/teamwork/microsoft.graph.deleteTargetedMessage': post: tags: - users.userTeamwork summary: Invoke action deleteTargetedMessage description: 'Delete a specific targeted message from a channel context. Teams administrators can use this API to remove targeted messages by providing the message ID, team ID, and channel ID.' externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/userteamwork-deletetargetedmessage?view=graph-rest-1.0 operationId: user.teamwork_deleteTargetedMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user requestBody: description: Action parameters content: application/json: schema: type: object properties: teamId: type: string channelId: type: string messageId: type: string additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/users/{user-id}/teamwork/microsoft.graph.getAllRetainedTargetedMessages()': get: tags: - users.userTeamwork summary: Invoke function getAllRetainedTargetedMessages description: Get all retained targeted messages sent to a specific user in group chats and channels. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/userteamwork-getallretainedtargetedmessages?view=graph-rest-1.0 operationId: user.teamwork_getAllRetainedTargetedMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of targetedChatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.targetedChatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/teamwork/microsoft.graph.getAllTargetedMessages()': get: tags: - users.userTeamwork summary: Invoke function getAllTargetedMessages description: Get all targeted messages sent to a specific user in group chats and channels. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/userteamwork-getalltargetedmessages?view=graph-rest-1.0 operationId: user.teamwork_getAllTargetedMessage parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values 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: Success content: application/json: schema: title: Collection of targetedChatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.targetedChatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore '/users/{user-id}/teamwork/microsoft.graph.sendActivityNotification': post: tags: - users.userTeamwork summary: 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: user.teamwork_sendActivityNotification parameters: - name: user-id in: path description: The unique identifier of user required: true style: simple schema: type: string x-ms-docs-key-type: user requestBody: description: Action parameters content: application/json: schema: type: object properties: topic: $ref: '#/components/schemas/microsoft.graph.teamworkActivityTopic' activityType: type: string nullable: true chainId: type: number format: int64 nullable: true previewText: $ref: '#/components/schemas/microsoft.graph.itemBody' teamsAppId: type: string nullable: true templateParameters: type: array items: $ref: '#/components/schemas/microsoft.graph.keyValuePair' iconId: type: string nullable: true additionalProperties: type: object required: true responses: 2XX: description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action components: schemas: microsoft.graph.teamsApp: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: teamsApp type: object properties: displayName: type: string description: The name of the catalog app provided by the app developer in the Microsoft Teams zip app package. nullable: true distributionMethod: $ref: '#/components/schemas/microsoft.graph.teamsAppDistributionMethod' externalId: type: string description: The ID of the catalog provided by the app developer in the Microsoft Teams zip app package. nullable: true appDefinitions: type: array items: $ref: '#/components/schemas/microsoft.graph.teamsAppDefinition' description: The details for each version of the app. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.teamsAppDefinition: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: teamsAppDefinition type: object properties: authorization: $ref: '#/components/schemas/microsoft.graph.teamsAppAuthorization' createdBy: $ref: '#/components/schemas/microsoft.graph.identitySet' description: type: string description: Verbose description of the application. nullable: true displayName: type: string description: The name of the app provided by the app developer. nullable: true lastModifiedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time nullable: true publishingState: $ref: '#/components/schemas/microsoft.graph.teamsAppPublishingState' shortDescription: type: string description: Short description of the application. nullable: true teamsAppId: type: string description: The ID from the Teams app manifest. nullable: true version: type: string description: The version number of the application. nullable: true bot: $ref: '#/components/schemas/microsoft.graph.teamworkBot' additionalProperties: type: object microsoft.graph.teamworkBot: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: teamworkBot type: object additionalProperties: type: object microsoft.graph.chat: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: chat type: object properties: chatType: $ref: '#/components/schemas/microsoft.graph.chatType' createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Date and time at which the chat was created. Read-only. format: date-time nullable: true isHiddenForAllMembers: type: boolean description: Indicates whether the chat is hidden for all its members. Read-only. nullable: true lastUpdatedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Date and time at which the chat was renamed or the list of members was last changed. Read-only. format: date-time nullable: true migrationMode: $ref: '#/components/schemas/microsoft.graph.migrationMode' onlineMeetingInfo: $ref: '#/components/schemas/microsoft.graph.teamworkOnlineMeetingInfo' originalCreatedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Timestamp of the original creation time for the chat. The value is null if the chat never entered migration mode. format: date-time nullable: true tenantId: type: string description: The identifier of the tenant in which the chat was created. Read-only. nullable: true topic: type: string description: (Optional) Subject or topic for the chat. Only available for group chats. nullable: true viewpoint: $ref: '#/components/schemas/microsoft.graph.chatViewpoint' webUrl: type: string description: 'The URL for the chat in Microsoft Teams. The URL should be treated as an opaque blob, and not parsed. Read-only.' nullable: true installedApps: type: array items: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' description: A collection of all the apps in the chat. Nullable. x-ms-navigationProperty: true lastMessagePreview: $ref: '#/components/schemas/microsoft.graph.chatMessageInfo' members: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' description: A collection of all the members in the chat. Nullable. x-ms-navigationProperty: true messages: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' description: A collection of all the messages in the chat. Nullable. x-ms-navigationProperty: true permissionGrants: type: array items: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' description: A collection of permissions granted to apps for the chat. x-ms-navigationProperty: true pinnedMessages: type: array items: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' description: A collection of all the pinned messages in the chat. Nullable. x-ms-navigationProperty: true tabs: type: array items: $ref: '#/components/schemas/microsoft.graph.teamsTab' description: A collection of all the tabs in the chat. Nullable. x-ms-navigationProperty: true targetedMessages: type: array items: $ref: '#/components/schemas/microsoft.graph.targetedChatMessage' description: 'A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can''t expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.' x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.teamsAppInstallation: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: teamsAppInstallation type: object properties: consentedPermissionSet: $ref: '#/components/schemas/microsoft.graph.teamsAppPermissionSet' teamsApp: $ref: '#/components/schemas/microsoft.graph.teamsApp' teamsAppDefinition: $ref: '#/components/schemas/microsoft.graph.teamsAppDefinition' additionalProperties: type: object microsoft.graph.teamsAppPermissionSet: title: teamsAppPermissionSet type: object properties: resourceSpecificPermissions: type: array items: $ref: '#/components/schemas/microsoft.graph.teamsAppResourceSpecificPermission' description: A collection of resource-specific permissions. additionalProperties: type: object microsoft.graph.chatMessageInfo: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: chatMessageInfo type: object properties: body: $ref: '#/components/schemas/microsoft.graph.itemBody' createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Date time object representing the time at which message was created. format: date-time nullable: true eventDetail: $ref: '#/components/schemas/microsoft.graph.eventMessageDetail' from: $ref: '#/components/schemas/microsoft.graph.chatMessageFromIdentitySet' isDeleted: type: boolean description: 'If set to true, the original message has been deleted.' nullable: true messageType: $ref: '#/components/schemas/microsoft.graph.chatMessageType' additionalProperties: type: object microsoft.graph.conversationMember: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: conversationMember type: object properties: displayName: type: string description: The display name of the user. nullable: true roles: type: array items: type: string nullable: true description: 'The roles for that user. This property contains more qualifiers only when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is an in-tenant guest, the roles property contains guest as one of the values. A basic member shouldn''t have any values specified in the roles property. An Out-of-tenant external member is assigned the owner role.' visibleHistoryStartDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: The timestamp denoting how far back a conversation's history is shared with the conversation member. This property is settable only for members of a chat. format: date-time nullable: true additionalProperties: type: object microsoft.graph.actionResultPart: title: actionResultPart type: object properties: error: $ref: '#/components/schemas/microsoft.graph.publicError' additionalProperties: type: object microsoft.graph.chatMessage: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: chatMessage type: object properties: attachments: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessageAttachment' description: 'References to attached objects like files, tabs, meetings etc.' body: $ref: '#/components/schemas/microsoft.graph.itemBody' channelIdentity: $ref: '#/components/schemas/microsoft.graph.channelIdentity' chatId: type: string description: 'If the message was sent in a chat, represents the identity of the chat.' nullable: true createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Timestamp of when the chat message was created. format: date-time nullable: true deletedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'Read-only. Timestamp at which the chat message was deleted, or null if not deleted.' format: date-time nullable: true etag: type: string description: Read-only. Version number of the chat message. nullable: true eventDetail: $ref: '#/components/schemas/microsoft.graph.eventMessageDetail' from: $ref: '#/components/schemas/microsoft.graph.chatMessageFromIdentitySet' importance: $ref: '#/components/schemas/microsoft.graph.chatMessageImportance' lastEditedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Read-only. Timestamp when edits to the chat message were made. Triggers an 'Edited' flag in the Teams UI. If no edits are made the value is null. format: date-time nullable: true lastModifiedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'Read-only. Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed.' format: date-time nullable: true locale: type: string description: Locale of the chat message set by the client. Always set to en-us. mentions: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessageMention' description: 'List of entities mentioned in the chat message. Supported entities are: user, bot, team, channel, chat, and tag.' messageHistory: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessageHistoryItem' description: 'List of activity history of a message item, including modification time and actions, such as reactionAdded, reactionRemoved, or reaction changes, on the message.' messageType: $ref: '#/components/schemas/microsoft.graph.chatMessageType' policyViolation: $ref: '#/components/schemas/microsoft.graph.chatMessagePolicyViolation' reactions: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessageReaction' description: 'Reactions for this chat message (for example, Like).' replyToId: type: string description: 'Read-only. ID of the parent chat message or root chat message of the thread. (Only applies to chat messages in channels, not chats.)' nullable: true subject: type: string description: 'The subject of the chat message, in plaintext.' nullable: true summary: type: string description: 'Summary text of the chat message that could be used for push notifications and summary views or fall back views. Only applies to channel chat messages, not chat messages in a chat.' nullable: true webUrl: type: string description: Read-only. Link to the message in Microsoft Teams. nullable: true hostedContents: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' description: 'Content in a message hosted by Microsoft Teams - for example, images or code snippets.' x-ms-navigationProperty: true replies: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' description: Replies for a specified message. Supports $expand for channel messages. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.chatMessageHostedContent: allOf: - $ref: '#/components/schemas/microsoft.graph.teamworkHostedContent' - title: chatMessageHostedContent type: object additionalProperties: type: object microsoft.graph.teamworkUserIdentity: allOf: - $ref: '#/components/schemas/microsoft.graph.identity' - title: teamworkUserIdentity type: object properties: userIdentityType: $ref: '#/components/schemas/microsoft.graph.teamworkUserIdentityType' additionalProperties: type: object microsoft.graph.teamworkActivityTopic: title: teamworkActivityTopic type: object properties: source: $ref: '#/components/schemas/microsoft.graph.teamworkActivityTopicSource' value: type: string description: 'The topic value. If the value of the source property is entityUrl, this must be a Microsoft Graph URL. If the value is text, this must be a plain text value.' webUrl: type: string description: The link the user clicks when they select the notification. Optional when source is entityUrl; required when source is text. nullable: true additionalProperties: type: object microsoft.graph.itemBody: title: itemBody type: object properties: content: type: string description: The content of the item. nullable: true contentType: $ref: '#/components/schemas/microsoft.graph.bodyType' additionalProperties: type: object microsoft.graph.keyValuePair: title: keyValuePair type: object properties: name: type: string description: Name for this key-value pair value: type: string description: Value for this key-value pair nullable: true additionalProperties: type: object microsoft.graph.teamworkNotificationRecipient: title: teamworkNotificationRecipient type: object additionalProperties: type: object microsoft.graph.resourceSpecificPermissionGrant: allOf: - $ref: '#/components/schemas/microsoft.graph.directoryObject' - title: resourceSpecificPermissionGrant type: object properties: clientAppId: type: string description: ID of the service principal of the Microsoft Entra app that has been granted access. Read-only. nullable: true clientId: type: string description: ID of the Microsoft Entra app that has been granted access. Read-only. nullable: true permission: type: string description: The name of the resource-specific permission. Read-only. nullable: true permissionType: type: string description: 'The type of permission. The possible values are: Application, Delegated. Read-only.' nullable: true resourceAppId: type: string description: ID of the Microsoft Entra app that is hosting the resource. Read-only. nullable: true additionalProperties: type: object microsoft.graph.pinnedChatMessageInfo: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: pinnedChatMessageInfo type: object properties: message: $ref: '#/components/schemas/microsoft.graph.chatMessage' additionalProperties: type: object microsoft.graph.teamsTab: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: teamsTab type: object properties: configuration: $ref: '#/components/schemas/microsoft.graph.teamsTabConfiguration' displayName: type: string description: Name of the tab. nullable: true webUrl: type: string description: Deep link URL of the tab instance. Read-only. nullable: true teamsApp: $ref: '#/components/schemas/microsoft.graph.teamsApp' additionalProperties: type: object microsoft.graph.targetedChatMessage: allOf: - $ref: '#/components/schemas/microsoft.graph.chatMessage' - title: targetedChatMessage type: object properties: recipient: $ref: '#/components/schemas/microsoft.graph.identity' additionalProperties: type: object microsoft.graph.team: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: team type: object properties: classification: type: string description: An optional label. Typically describes the data or business sensitivity of the team. Must match one of a preconfigured set in the tenant's directory. nullable: true createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Timestamp at which the team was created. format: date-time nullable: true description: type: string description: 'An optional description for the team. Maximum length: 1,024 characters.' nullable: true displayName: type: string description: The name of the team. nullable: true firstChannelName: type: string description: 'The name of the first channel in the team. This is an optional property, only used during team creation and isn''t returned in methods to get and list teams.' nullable: true funSettings: $ref: '#/components/schemas/microsoft.graph.teamFunSettings' guestSettings: $ref: '#/components/schemas/microsoft.graph.teamGuestSettings' internalId: type: string description: A unique ID for the team that was used in a few places such as the audit log/Office 365 Management Activity API. nullable: true isArchived: type: boolean description: Whether this team is in read-only mode. nullable: true memberSettings: $ref: '#/components/schemas/microsoft.graph.teamMemberSettings' messagingSettings: $ref: '#/components/schemas/microsoft.graph.teamMessagingSettings' specialization: $ref: '#/components/schemas/microsoft.graph.teamSpecialization' summary: $ref: '#/components/schemas/microsoft.graph.teamSummary' tenantId: type: string description: The ID of the Microsoft Entra tenant. nullable: true visibility: $ref: '#/components/schemas/microsoft.graph.teamVisibilityType' webUrl: type: string description: 'A hyperlink that goes to the team in the Microsoft Teams client. You get this URL when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed.' nullable: true allChannels: type: array items: $ref: '#/components/schemas/microsoft.graph.channel' description: List of channels either hosted in or shared with the team (incoming channels). x-ms-navigationProperty: true channels: type: array items: $ref: '#/components/schemas/microsoft.graph.channel' description: The collection of channels and messages associated with the team. x-ms-navigationProperty: true group: $ref: '#/components/schemas/microsoft.graph.group' incomingChannels: type: array items: $ref: '#/components/schemas/microsoft.graph.channel' description: List of channels shared with the team. x-ms-navigationProperty: true installedApps: type: array items: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' description: The apps installed in this team. x-ms-navigationProperty: true members: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' description: Members and owners of the team. x-ms-navigationProperty: true operations: type: array items: $ref: '#/components/schemas/microsoft.graph.teamsAsyncOperation' description: The async operations that ran or are running on this team. x-ms-navigationProperty: true permissionGrants: type: array items: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' description: A collection of permissions granted to apps to access the team. x-ms-navigationProperty: true photo: $ref: '#/components/schemas/microsoft.graph.profilePhoto' primaryChannel: $ref: '#/components/schemas/microsoft.graph.channel' schedule: $ref: '#/components/schemas/microsoft.graph.schedule' tags: type: array items: $ref: '#/components/schemas/microsoft.graph.teamworkTag' description: The tags associated with the team. x-ms-navigationProperty: true template: $ref: '#/components/schemas/microsoft.graph.teamsTemplate' additionalProperties: type: object microsoft.graph.channel: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: channel type: object properties: createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Read-only. Timestamp at which the channel was created. format: date-time nullable: true description: type: string description: Optional textual description for the channel. nullable: true displayName: type: string description: Channel name as it will appear to the user in Microsoft Teams. The maximum length is 50 characters. email: type: string description: The email address for sending messages to the channel. Read-only. nullable: true isArchived: type: boolean description: Indicates whether the channel is archived. Read-only. nullable: true isFavoriteByDefault: type: boolean description: 'Indicates whether the channel should be marked as recommended for all members of the team to show in their channel list. Note: All recommended channels automatically show in the channels list for education and frontline worker users. The property can only be set programmatically via the Create team method. The default value is false.' nullable: true layoutType: $ref: '#/components/schemas/microsoft.graph.channelLayoutType' membershipType: $ref: '#/components/schemas/microsoft.graph.channelMembershipType' migrationMode: $ref: '#/components/schemas/microsoft.graph.migrationMode' originalCreatedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Timestamp of the original creation time for the channel. The value is null if the channel never entered migration mode. format: date-time nullable: true summary: $ref: '#/components/schemas/microsoft.graph.channelSummary' tenantId: type: string description: The ID of the Microsoft Entra tenant. nullable: true webUrl: type: string description: 'A hyperlink that will go to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only.' nullable: true allMembers: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' description: 'A collection of membership records associated with the channel, including both direct and indirect members of shared channels.' x-ms-navigationProperty: true enabledApps: type: array items: $ref: '#/components/schemas/microsoft.graph.teamsApp' description: A collection of enabled apps in the channel. x-ms-navigationProperty: true filesFolder: $ref: '#/components/schemas/microsoft.graph.driveItem' members: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' description: A collection of membership records associated with the channel. x-ms-navigationProperty: true messages: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' description: A collection of all the messages in the channel. A navigation property. Nullable. x-ms-navigationProperty: true sharedWithTeams: type: array items: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' description: A collection of teams with which a channel is shared. x-ms-navigationProperty: true tabs: type: array items: $ref: '#/components/schemas/microsoft.graph.teamsTab' description: A collection of all the tabs in the channel. A navigation property. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.driveItem: allOf: - $ref: '#/components/schemas/microsoft.graph.baseItem' - title: driveItem type: object properties: audio: $ref: '#/components/schemas/microsoft.graph.audio' bundle: $ref: '#/components/schemas/microsoft.graph.bundle' content: type: string description: 'The content stream, if the item represents a file.' format: base64url nullable: true cTag: type: string description: An eTag for the content of the item. This eTag isn't changed if only the metadata is changed. Note This property isn't returned if the item is a folder. Read-only. nullable: true deleted: $ref: '#/components/schemas/microsoft.graph.deleted' file: $ref: '#/components/schemas/microsoft.graph.file' fileSystemInfo: $ref: '#/components/schemas/microsoft.graph.fileSystemInfo' folder: $ref: '#/components/schemas/microsoft.graph.folder' image: $ref: '#/components/schemas/microsoft.graph.image' location: $ref: '#/components/schemas/microsoft.graph.geoCoordinates' malware: $ref: '#/components/schemas/microsoft.graph.malware' package: $ref: '#/components/schemas/microsoft.graph.package' pendingOperations: $ref: '#/components/schemas/microsoft.graph.pendingOperations' photo: $ref: '#/components/schemas/microsoft.graph.photo' publication: $ref: '#/components/schemas/microsoft.graph.publicationFacet' remoteItem: $ref: '#/components/schemas/microsoft.graph.remoteItem' root: $ref: '#/components/schemas/microsoft.graph.root' searchResult: $ref: '#/components/schemas/microsoft.graph.searchResult' shared: $ref: '#/components/schemas/microsoft.graph.shared' sharepointIds: $ref: '#/components/schemas/microsoft.graph.sharepointIds' size: type: number description: Size of the item in bytes. Read-only. format: int64 nullable: true specialFolder: $ref: '#/components/schemas/microsoft.graph.specialFolder' video: $ref: '#/components/schemas/microsoft.graph.video' webDavUrl: type: string description: WebDAV compatible URL for the item. nullable: true analytics: $ref: '#/components/schemas/microsoft.graph.itemAnalytics' children: type: array items: $ref: '#/components/schemas/microsoft.graph.driveItem' description: Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable. x-ms-navigationProperty: true listItem: $ref: '#/components/schemas/microsoft.graph.listItem' permissions: type: array items: $ref: '#/components/schemas/microsoft.graph.permission' description: The set of permissions for the item. Read-only. Nullable. x-ms-navigationProperty: true retentionLabel: $ref: '#/components/schemas/microsoft.graph.itemRetentionLabel' subscriptions: type: array items: $ref: '#/components/schemas/microsoft.graph.subscription' description: The set of subscriptions on the item. Only supported on the root of a drive. x-ms-navigationProperty: true thumbnails: type: array items: $ref: '#/components/schemas/microsoft.graph.thumbnailSet' description: 'Collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable.' x-ms-navigationProperty: true versions: type: array items: $ref: '#/components/schemas/microsoft.graph.driveItemVersion' description: 'The list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable.' x-ms-navigationProperty: true workbook: $ref: '#/components/schemas/microsoft.graph.workbook' additionalProperties: type: object microsoft.graph.provisionChannelEmailResult: title: provisionChannelEmailResult type: object properties: email: type: string description: Represents the provisioned email address. nullable: true additionalProperties: type: object microsoft.graph.sharedWithChannelTeamInfo: allOf: - $ref: '#/components/schemas/microsoft.graph.teamInfo' - title: sharedWithChannelTeamInfo type: object properties: isHostTeam: type: boolean description: Indicates whether the team is the host of the channel. nullable: true allowedMembers: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' description: A collection of team members who have access to the shared channel. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.group: allOf: - $ref: '#/components/schemas/microsoft.graph.directoryObject' - title: group type: object properties: accessType: $ref: '#/components/schemas/microsoft.graph.groupAccessType' allowExternalSenders: type: boolean description: 'Indicates if people external to the organization can send messages to the group. The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}).' nullable: true assignedLabels: type: array items: $ref: '#/components/schemas/microsoft.graph.assignedLabel' description: 'The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it''s immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. See Key differences from Microsoft 365 group labeling to learn more about managing this property for Microsoft 365 vs. cloud security groups.' assignedLicenses: type: array items: $ref: '#/components/schemas/microsoft.graph.assignedLicense' description: The licenses that are assigned to the group. Requires $select to retrieve. Supports $filter (eq). Read-only. autoSubscribeNewMembers: type: boolean description: 'Indicates if new members added to the group are autosubscribed to receive email notifications. You can set this property in a PATCH request for the group; don''t set it in the initial POST request that creates the group. Default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}).' nullable: true classification: type: string description: 'Describes a classification for the group (such as low, medium, or high business impact). Valid values for this property are defined by creating a ClassificationList setting value, based on the template definition.Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith).' nullable: true createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'Timestamp of when the group was created. The value can''t be modified and is automatically populated when the group is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on January 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only.' format: date-time nullable: true description: type: string description: 'An optional description for the group. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith) and $search.' nullable: true displayName: type: string description: 'The display name for the group. This property is required when a group is created and can''t be cleared during updates. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby.' nullable: true expirationDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'Timestamp of when the group is set to expire. It''s null for security groups, but for Microsoft 365 groups, it represents when the group is set to expire as defined in the groupLifecyclePolicy. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on January 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only.' format: date-time nullable: true groupTypes: type: array items: type: string description: 'Specifies the group type and its membership. If the collection contains Unified, the group is a Microsoft 365 group; otherwise, it''s either a security group or a distribution group. For details, see groups overview.If the collection includes DynamicMembership, the group has dynamic membership; otherwise, membership is static. Returned by default. Supports $filter (eq, not).' hasMembersWithLicenseErrors: type: boolean description: 'Indicates whether there are members in this group that have license errors from its group-based license assignment. This property is never returned on a GET operation. You can use it as a $filter argument to get groups that have members with license errors (that is, filter for this property being true). See an example. Supports $filter (eq).' nullable: true hideFromAddressLists: type: boolean description: 'True if the group isn''t displayed in certain parts of the Outlook UI: the Address Book, address lists for selecting message recipients, and the Browse Groups dialog for searching groups; otherwise, false. The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}).' nullable: true hideFromOutlookClients: type: boolean description: 'True if the group isn''t displayed in Outlook clients, such as Outlook for Windows and Outlook on the web; otherwise, false. The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}).' nullable: true infoCatalogs: type: array items: type: string isArchived: type: boolean description: 'When a group is associated with a team, this property determines whether the team is in read-only mode.To read this property, use the /group/{groupId}/team endpoint or the Get team API. To update this property, use the archiveTeam and unarchiveTeam APIs.' nullable: true isAssignableToRole: type: boolean description: 'Indicates whether this group can be assigned to a Microsoft Entra role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true, visibility must be Hidden, and the group can''t be a dynamic group (that is, groupTypes can''t contain DynamicMembership). Only callers with at least the Privileged Role Administrator role can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Microsoft Entra role assignmentsUsing this feature requires a Microsoft Entra ID P1 license. Returned by default. Supports $filter (eq, ne, not).' nullable: true isFavorite: type: boolean description: 'Indicates whether the user marked the group as favorite. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}).' nullable: true isManagementRestricted: type: boolean description: 'Indicates whether the group is a member of a restricted management administrative unit. If not set, the default value is null and the default behavior is false. Read-only. To manage a group member of a restricted management administrative unit, the administrator or calling app must be assigned a Microsoft Entra role at the scope of the restricted management administrative unit. Requires $select to retrieve.' nullable: true isSubscribedByMail: type: boolean description: 'Indicates whether the signed-in user is subscribed to receive email conversations. The default value is true. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}).' nullable: true licenseProcessingState: $ref: '#/components/schemas/microsoft.graph.licenseProcessingState' mail: type: string description: 'The SMTP address for the group, for example, ''serviceadmins@contoso.com''. Returned by default. Read-only. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).' nullable: true mailEnabled: type: boolean description: 'Specifies whether the group is mail-enabled. Required. Returned by default. Supports $filter (eq, ne, not).' nullable: true mailNickname: type: string description: 'The mail alias for the group, unique for Microsoft 365 groups in the organization. Maximum length is 64 characters. This property can contain only characters in the ASCII character set 0 - 127 except the following characters: @ () / [] '' ; : <> , SPACE. Required. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).' nullable: true membershipRule: type: string description: 'The rule that determines members for this group if the group is a dynamic group (groupTypes contains DynamicMembership). For more information about the syntax of the membership rule, see Membership Rules syntax. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith).' nullable: true membershipRuleProcessingState: type: string description: 'Indicates whether the dynamic membership processing is on or paused. Possible values are On or Paused. Returned by default. Supports $filter (eq, ne, not, in).' nullable: true onPremisesDomainName: type: string description: 'Contains the on-premises domain FQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Read-only.' nullable: true onPremisesExtensionAttributes: $ref: '#/components/schemas/microsoft.graph.onPremisesExtensionAttributes' onPremisesLastSyncDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'Indicates the last time at which the group was synced with the on-premises directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on January 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only. Supports $filter (eq, ne, not, ge, le, in).' format: date-time nullable: true onPremisesNetBiosName: type: string description: Contains the on-premises netBios name synchronized from the on-premises directory. The property is only populated for customers synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Read-only. nullable: true onPremisesProvisioningErrors: type: array items: $ref: '#/components/schemas/microsoft.graph.onPremisesProvisioningError' description: 'Errors when using Microsoft synchronization product during provisioning. Returned by default. Supports $filter (eq, not).' onPremisesSamAccountName: type: string description: 'Contains the on-premises SAM account name synchronized from the on-premises directory. The property is only populated for customers synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith). Read-only.' nullable: true onPremisesSecurityIdentifier: type: string description: Contains the on-premises security identifier (SID) for the group synchronized from on-premises to the cloud. Read-only. Returned by default. Supports $filter (eq including on null values). nullable: true onPremisesSyncEnabled: type: boolean description: 'true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never synced from an on-premises directory (default). Returned by default. Read-only. Supports $filter (eq, ne, not, in, and eq on null values).' nullable: true organizationId: type: string nullable: true preferredDataLocation: type: string description: 'The preferred data location for the Microsoft 365 group. By default, the group inherits the group creator''s preferred data location. To set this property, the calling app must be granted the Directory.ReadWrite.All permission and the user be assigned at least one of the following Microsoft Entra roles: User Account Administrator Directory Writer Exchange Administrator SharePoint Administrator For more information about this property, see OneDrive Online Multi-Geo. Nullable. Returned by default.' nullable: true preferredLanguage: type: string description: 'The preferred language for a Microsoft 365 group. Should follow ISO 639-1 Code; for example, en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).' nullable: true proxyAddresses: type: array items: type: string description: 'Email addresses for the group that direct to the same group mailbox. For example: [''SMTP: bob@contoso.com'', ''smtp: bob@sales.contoso.com'']. The any operator is required to filter expressions on multi-valued properties. Returned by default. Read-only. Not nullable. Supports $filter (eq, not, ge, le, startsWith, endsWith, /$count eq 0, /$count ne 0).' renewedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'Timestamp of when the group was last renewed. This value can''t be modified directly and is only updated via the renew service action. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on January 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only.' format: date-time nullable: true resourceBehaviorOptions: type: array items: type: string description: 'Specifies the group behaviors that can be set for a Microsoft 365 group during creation. This property can be set only as part of creation (POST). For the list of possible values, see Microsoft 365 group behaviors and provisioning options.' resourceProvisioningOptions: type: array items: type: string description: 'Specifies the group resources that are associated with the Microsoft 365 group. The possible value is Team. For more information, see Microsoft 365 group behaviors and provisioning options. Returned by default. Supports $filter (eq, not, startsWith).' securityEnabled: type: boolean description: 'Specifies whether the group is a security group. Required. Returned by default. Supports $filter (eq, ne, not, in).' nullable: true securityIdentifier: type: string description: 'Security identifier of the group, used in Windows scenarios. Read-only. Returned by default.' nullable: true serviceProvisioningErrors: type: array items: $ref: '#/components/schemas/microsoft.graph.serviceProvisioningError' description: 'Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a group object. Supports $filter (eq, not, for isResolved and serviceInstance).' theme: type: string description: 'Specifies a Microsoft 365 group''s color theme. Possible values are Teal, Purple, Green, Blue, Pink, Orange, or Red. Returned by default.' nullable: true uniqueName: type: string description: The unique identifier that can be assigned to a group and used as an alternate key. Immutable. Read-only. nullable: true unseenConversationsCount: maximum: 2147483647 minimum: -2147483648 type: number description: 'Count of conversations that have had one or more new posts delivered since the signed-in user''s last visit to the group. This property is the same as unseenCount. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}).' format: int32 nullable: true unseenCount: maximum: 2147483647 minimum: -2147483648 type: number description: 'Count of conversations that have received new posts since the signed-in user last visited the group. This property is the same as unseenConversationsCount.Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}).' format: int32 nullable: true unseenMessagesCount: maximum: 2147483647 minimum: -2147483648 type: number description: 'Count of new posts that have been delivered to the group''s conversations since the signed-in user''s last visit to the group. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}).' format: int32 nullable: true visibility: type: string description: 'Specifies the group join policy and group content visibility for groups. The possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups when the groups are created. It can''t be updated later. Other values of visibility can be updated after group creation. If visibility value isn''t specified during group creation on Microsoft Graph, a security group is created as Private by default, and the Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable.' nullable: true welcomeMessageEnabled: type: boolean nullable: true acceptedSenders: type: array items: $ref: '#/components/schemas/microsoft.graph.directoryObject' description: 'The list of users or groups allowed to create posts or calendar events in this group. If this list is nonempty, then only users or groups listed here are allowed to post.' x-ms-navigationProperty: true appRoleAssignments: type: array items: $ref: '#/components/schemas/microsoft.graph.appRoleAssignment' description: Represents the app roles granted to a group for an application. Supports $expand. x-ms-navigationProperty: true calendar: $ref: '#/components/schemas/microsoft.graph.calendar' calendarView: type: array items: $ref: '#/components/schemas/microsoft.graph.event' description: The calendar view for the calendar. Read-only. x-ms-navigationProperty: true conversations: type: array items: $ref: '#/components/schemas/microsoft.graph.conversation' description: The group's conversations. x-ms-navigationProperty: true createdOnBehalfOf: $ref: '#/components/schemas/microsoft.graph.directoryObject' drive: $ref: '#/components/schemas/microsoft.graph.drive' drives: type: array items: $ref: '#/components/schemas/microsoft.graph.drive' description: The group's drives. Read-only. x-ms-navigationProperty: true events: type: array items: $ref: '#/components/schemas/microsoft.graph.event' description: The group's calendar events. x-ms-navigationProperty: true extensions: type: array items: $ref: '#/components/schemas/microsoft.graph.extension' description: The collection of open extensions defined for the group. Read-only. Nullable. x-ms-navigationProperty: true groupLifecyclePolicies: type: array items: $ref: '#/components/schemas/microsoft.graph.groupLifecyclePolicy' description: The collection of lifecycle policies for this group. Read-only. Nullable. x-ms-navigationProperty: true memberOf: type: array items: $ref: '#/components/schemas/microsoft.graph.directoryObject' description: 'Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand.' x-ms-navigationProperty: true members: type: array items: $ref: '#/components/schemas/microsoft.graph.directoryObject' description: 'The members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,''Role'')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName).' x-ms-navigationProperty: true membersWithLicenseErrors: type: array items: $ref: '#/components/schemas/microsoft.graph.directoryObject' description: A list of group members with license errors from this group-based license assignment. Read-only. x-ms-navigationProperty: true onenote: $ref: '#/components/schemas/microsoft.graph.onenote' onPremisesSyncBehavior: $ref: '#/components/schemas/microsoft.graph.onPremisesSyncBehavior' owners: type: array items: $ref: '#/components/schemas/microsoft.graph.directoryObject' description: 'The owners of the group who can be users or service principals. Limited to 100 owners. Nullable. If this property isn''t specified when creating a Microsoft 365 group the calling user (admin or non-admin) is automatically assigned as the group owner. A non-admin user can''t explicitly add themselves to this collection when they''re creating the group. For more information, see the related known issue. For security groups, the admin user isn''t automatically added to this collection. For more information, see the related known issue. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,''Role'')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName).' x-ms-navigationProperty: true permissionGrants: type: array items: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' x-ms-navigationProperty: true photo: $ref: '#/components/schemas/microsoft.graph.profilePhoto' photos: type: array items: $ref: '#/components/schemas/microsoft.graph.profilePhoto' description: The profile photos owned by the group. Read-only. Nullable. x-ms-navigationProperty: true planner: $ref: '#/components/schemas/microsoft.graph.plannerGroup' rejectedSenders: type: array items: $ref: '#/components/schemas/microsoft.graph.directoryObject' description: The list of users or groups not allowed to create posts or calendar events in this group. Nullable x-ms-navigationProperty: true settings: type: array items: $ref: '#/components/schemas/microsoft.graph.groupSetting' description: 'Settings that can govern this group''s behavior, like whether members can invite guests to the group. Nullable.' x-ms-navigationProperty: true sites: type: array items: $ref: '#/components/schemas/microsoft.graph.site' description: The list of SharePoint sites in this group. Access the default site with /sites/root. x-ms-navigationProperty: true team: $ref: '#/components/schemas/microsoft.graph.team' threads: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationThread' description: The group's conversation threads. Nullable. x-ms-navigationProperty: true transitiveMemberOf: type: array items: $ref: '#/components/schemas/microsoft.graph.directoryObject' description: 'The groups that a group is a member of, either directly or through nested membership. Nullable.' x-ms-navigationProperty: true transitiveMembers: type: array items: $ref: '#/components/schemas/microsoft.graph.directoryObject' description: The direct and transitive members of a group. Nullable. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.teamVisibilityType: title: teamVisibilityType enum: - private - public - hiddenMembership - unknownFutureValue type: string microsoft.graph.clonableTeamParts: title: clonableTeamParts enum: - apps - tabs - settings - channels - members type: string x-ms-enum-flags: isFlags: true microsoft.graph.teamsAsyncOperation: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: teamsAsyncOperation type: object properties: attemptsCount: maximum: 2147483647 minimum: -2147483648 type: number description: Number of times the operation was attempted before being marked successful or failed. format: int32 createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Time when the operation was created. format: date-time error: $ref: '#/components/schemas/microsoft.graph.operationError' lastActionDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Time when the async operation was last updated. format: date-time operationType: $ref: '#/components/schemas/microsoft.graph.teamsAsyncOperationType' status: $ref: '#/components/schemas/microsoft.graph.teamsAsyncOperationStatus' targetResourceId: type: string description: 'The ID of the object that''s created or modified as result of this async operation, typically a team.' nullable: true targetResourceLocation: type: string description: The location of the object that's created or modified as result of this async operation. This URL should be treated as an opaque value and not parsed into its component paths. nullable: true additionalProperties: type: object microsoft.graph.profilePhoto: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: profilePhoto type: object properties: height: maximum: 2147483647 minimum: -2147483648 type: number description: The height of the photo. Read-only. format: int32 nullable: true width: maximum: 2147483647 minimum: -2147483648 type: number description: The width of the photo. Read-only. format: int32 nullable: true additionalProperties: type: object microsoft.graph.schedule: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: schedule type: object properties: enabled: type: boolean description: Indicates whether the schedule is enabled for the team. Required. nullable: true isActivitiesIncludedWhenCopyingShiftsEnabled: type: boolean description: Indicates whether copied shifts include activities from the original shift. nullable: true offerShiftRequestsEnabled: type: boolean description: Indicates whether offer shift requests are enabled for the schedule. nullable: true openShiftsEnabled: type: boolean description: Indicates whether open shifts are enabled for the schedule. nullable: true provisionStatus: $ref: '#/components/schemas/microsoft.graph.operationStatus' provisionStatusCode: type: string description: Additional information about why schedule provisioning failed. nullable: true readOnly: true startDayOfWeek: $ref: '#/components/schemas/microsoft.graph.dayOfWeek' swapShiftsRequestsEnabled: type: boolean description: Indicates whether swap shifts requests are enabled for the schedule. nullable: true timeClockEnabled: type: boolean description: Indicates whether time clock is enabled for the schedule. nullable: true timeClockSettings: $ref: '#/components/schemas/microsoft.graph.timeClockSettings' timeOffRequestsEnabled: type: boolean description: Indicates whether time off requests are enabled for the schedule. nullable: true timeZone: type: string description: 'The time zone of the schedule team as an IANA time zone database (tz database) name; for example, America/Chicago. For the full list of valid values, see List of tz database time zones. Required.' nullable: true workforceIntegrationIds: type: array items: type: string nullable: true description: The IDs for the workforce integrations associated with this schedule. dayNotes: type: array items: $ref: '#/components/schemas/microsoft.graph.dayNote' description: The day notes in the schedule. x-ms-navigationProperty: true offerShiftRequests: type: array items: $ref: '#/components/schemas/microsoft.graph.offerShiftRequest' description: The offer requests for shifts in the schedule. x-ms-navigationProperty: true openShiftChangeRequests: type: array items: $ref: '#/components/schemas/microsoft.graph.openShiftChangeRequest' description: The open shift requests in the schedule. x-ms-navigationProperty: true openShifts: type: array items: $ref: '#/components/schemas/microsoft.graph.openShift' description: The set of open shifts in a scheduling group in the schedule. x-ms-navigationProperty: true schedulingGroups: type: array items: $ref: '#/components/schemas/microsoft.graph.schedulingGroup' description: The logical grouping of users in the schedule (usually by role). x-ms-navigationProperty: true shifts: type: array items: $ref: '#/components/schemas/microsoft.graph.shift' description: The shifts in the schedule. x-ms-navigationProperty: true swapShiftsChangeRequests: type: array items: $ref: '#/components/schemas/microsoft.graph.swapShiftsChangeRequest' description: The swap requests for shifts in the schedule. x-ms-navigationProperty: true timeCards: type: array items: $ref: '#/components/schemas/microsoft.graph.timeCard' description: The time cards in the schedule. x-ms-navigationProperty: true timeOffReasons: type: array items: $ref: '#/components/schemas/microsoft.graph.timeOffReason' description: The set of reasons for a time off in the schedule. x-ms-navigationProperty: true timeOffRequests: type: array items: $ref: '#/components/schemas/microsoft.graph.timeOffRequest' description: The time off requests in the schedule. x-ms-navigationProperty: true timesOff: type: array items: $ref: '#/components/schemas/microsoft.graph.timeOff' description: The instances of times off in the schedule. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.dayNote: allOf: - $ref: '#/components/schemas/microsoft.graph.changeTrackedEntity' - title: dayNote type: object properties: dayNoteDate: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$' type: string description: The date of the day note. format: date nullable: true draftDayNote: $ref: '#/components/schemas/microsoft.graph.itemBody' sharedDayNote: $ref: '#/components/schemas/microsoft.graph.itemBody' additionalProperties: type: object microsoft.graph.offerShiftRequest: allOf: - $ref: '#/components/schemas/microsoft.graph.scheduleChangeRequest' - title: offerShiftRequest type: object properties: recipientActionDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: The date and time when the recipient approved or declined the request. format: date-time nullable: true readOnly: true recipientActionMessage: type: string description: The message sent by the recipient regarding the request. nullable: true recipientUserId: type: string description: The recipient's user ID. nullable: true senderShiftId: type: string description: The sender's shift ID. nullable: true additionalProperties: type: object microsoft.graph.openShiftChangeRequest: allOf: - $ref: '#/components/schemas/microsoft.graph.scheduleChangeRequest' - title: openShiftChangeRequest type: object properties: openShiftId: type: string description: ID for the open shift. nullable: true additionalProperties: type: object microsoft.graph.openShift: allOf: - $ref: '#/components/schemas/microsoft.graph.changeTrackedEntity' - title: openShift type: object properties: draftOpenShift: $ref: '#/components/schemas/microsoft.graph.openShiftItem' isStagedForDeletion: type: boolean description: 'The openShift is marked for deletion, a process that is finalized when the schedule is shared.' nullable: true schedulingGroupId: type: string description: The ID of the schedulingGroup that contains the openShift. nullable: true sharedOpenShift: $ref: '#/components/schemas/microsoft.graph.openShiftItem' additionalProperties: type: object microsoft.graph.schedulingGroup: allOf: - $ref: '#/components/schemas/microsoft.graph.changeTrackedEntity' - title: schedulingGroup type: object properties: code: type: string description: 'The code for the schedulingGroup to represent an external identifier. This field must be unique within the team in Microsoft Teams and uses an alphanumeric format, with a maximum of 100 characters.' nullable: true displayName: type: string description: The display name for the schedulingGroup. Required. nullable: true isActive: type: boolean description: Indicates whether the schedulingGroup can be used when creating new entities or updating existing ones. Required. nullable: true readOnly: true userIds: type: array items: type: string nullable: true description: The list of user IDs that are a member of the schedulingGroup. Required. additionalProperties: type: object microsoft.graph.shift: allOf: - $ref: '#/components/schemas/microsoft.graph.changeTrackedEntity' - title: shift type: object properties: draftShift: $ref: '#/components/schemas/microsoft.graph.shiftItem' isStagedForDeletion: type: boolean description: 'The shift is marked for deletion, a process that is finalized when the schedule is shared.' nullable: true schedulingGroupId: type: string description: ID of the scheduling group the shift is part of. Required. nullable: true sharedShift: $ref: '#/components/schemas/microsoft.graph.shiftItem' userId: type: string description: ID of the user assigned to the shift. Required. nullable: true additionalProperties: type: object microsoft.graph.swapShiftsChangeRequest: allOf: - $ref: '#/components/schemas/microsoft.graph.offerShiftRequest' - title: swapShiftsChangeRequest type: object properties: recipientShiftId: type: string description: The recipient's Shift ID nullable: true additionalProperties: type: object microsoft.graph.timeCard: allOf: - $ref: '#/components/schemas/microsoft.graph.changeTrackedEntity' - title: timeCard type: object properties: breaks: type: array items: $ref: '#/components/schemas/microsoft.graph.timeCardBreak' description: The list of breaks associated with the timeCard. clockInEvent: $ref: '#/components/schemas/microsoft.graph.timeCardEvent' clockOutEvent: $ref: '#/components/schemas/microsoft.graph.timeCardEvent' confirmedBy: $ref: '#/components/schemas/microsoft.graph.confirmedBy' notes: $ref: '#/components/schemas/microsoft.graph.itemBody' originalEntry: $ref: '#/components/schemas/microsoft.graph.timeCardEntry' state: $ref: '#/components/schemas/microsoft.graph.timeCardState' userId: type: string description: User ID to which the timeCard belongs. nullable: true additionalProperties: type: object microsoft.graph.timeOffReason: allOf: - $ref: '#/components/schemas/microsoft.graph.changeTrackedEntity' - title: timeOffReason type: object properties: code: type: string description: 'The code of the timeOffReason to represent an external identifier. This field must be unique within the team in Microsoft Teams and uses an alphanumeric format, with a maximum of 100 characters.' nullable: true displayName: type: string description: The name of the timeOffReason. Required. nullable: true iconType: $ref: '#/components/schemas/microsoft.graph.timeOffReasonIconType' isActive: type: boolean description: Indicates whether the timeOffReason can be used when creating new entities or updating existing ones. Required. nullable: true additionalProperties: type: object microsoft.graph.timeOffRequest: allOf: - $ref: '#/components/schemas/microsoft.graph.scheduleChangeRequest' - title: timeOffRequest type: object properties: endDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: The date and time the time off ends in ISO 8601 format and in UTC time. format: date-time nullable: true startDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: The date and time the time off starts in ISO 8601 format and in UTC time. format: date-time nullable: true timeOffReasonId: type: string description: The reason for the time off. nullable: true additionalProperties: type: object microsoft.graph.timeOff: allOf: - $ref: '#/components/schemas/microsoft.graph.changeTrackedEntity' - title: timeOff type: object properties: draftTimeOff: $ref: '#/components/schemas/microsoft.graph.timeOffItem' isStagedForDeletion: type: boolean description: 'The timeOff is marked for deletion, a process that is finalized when the schedule is shared.' nullable: true sharedTimeOff: $ref: '#/components/schemas/microsoft.graph.timeOffItem' userId: type: string description: ID of the user assigned to the timeOff. Required. nullable: true additionalProperties: type: object microsoft.graph.teamworkTag: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: teamworkTag type: object properties: description: type: string description: The description of the tag as it appears to the user in Microsoft Teams. A teamworkTag can't have more than 200 teamworkTagMembers. nullable: true displayName: type: string description: The name of the tag as it appears to the user in Microsoft Teams. nullable: true memberCount: maximum: 2147483647 minimum: -2147483648 type: number description: The number of users assigned to the tag. format: int32 nullable: true tagType: $ref: '#/components/schemas/microsoft.graph.teamworkTagType' teamId: type: string description: ID of the team in which the tag is defined. nullable: true members: type: array items: $ref: '#/components/schemas/microsoft.graph.teamworkTagMember' description: Users assigned to the tag. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.teamworkTagMember: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: teamworkTagMember type: object properties: displayName: type: string description: The member's display name. nullable: true tenantId: type: string description: The ID of the tenant that the tag member is a part of. nullable: true userId: type: string description: The user ID of the member. nullable: true additionalProperties: type: object microsoft.graph.teamsTemplate: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: teamsTemplate type: object additionalProperties: type: object microsoft.graph.teamwork: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: teamwork type: object properties: isTeamsEnabled: type: boolean description: Indicates whether Microsoft Teams is enabled for the organization. region: type: string description: 'Represents the region of the organization or the tenant. The region value can be any region supported by the Teams payload. The possible values are: Americas, Europe and MiddleEast, Asia Pacific, UAE, Australia, Brazil, Canada, Switzerland, Germany, France, India, Japan, South Korea, Norway, Singapore, United Kingdom, South Africa, Sweden, Qatar, Poland, Italy, Israel, Spain, Mexico, USGov Community Cloud, USGov Community Cloud High, USGov Department of Defense, and China.' nullable: true deletedChats: type: array items: $ref: '#/components/schemas/microsoft.graph.deletedChat' description: A collection of deleted chats. x-ms-navigationProperty: true deletedTeams: type: array items: $ref: '#/components/schemas/microsoft.graph.deletedTeam' description: The deleted team. x-ms-navigationProperty: true teamsAppSettings: $ref: '#/components/schemas/microsoft.graph.teamsAppSettings' workforceIntegrations: type: array items: $ref: '#/components/schemas/microsoft.graph.workforceIntegration' x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.deletedChat: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: deletedChat type: object additionalProperties: type: object microsoft.graph.deletedTeam: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: deletedTeam type: object properties: channels: type: array items: $ref: '#/components/schemas/microsoft.graph.channel' description: The channels that are either shared with this deleted team or created in this deleted team. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.teamsAppSettings: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: teamsAppSettings type: object properties: allowUserRequestsForAppAccess: type: boolean description: Indicates whether users are allowed to request access to the unavailable Teams apps. nullable: true isUserPersonalScopeResourceSpecificConsentEnabled: type: boolean description: Indicates whether resource-specific consent for personal scope in Teams apps is enabled for the tenant. True indicates that Teams apps that are allowed in the tenant and require resource-specific permissions can be installed in the personal scope. False blocks the installation of any Teams app that requires resource-specific permissions in the personal scope. nullable: true additionalProperties: type: object microsoft.graph.workforceIntegration: allOf: - $ref: '#/components/schemas/microsoft.graph.changeTrackedEntity' - title: workforceIntegration type: object properties: apiVersion: maximum: 2147483647 minimum: -2147483648 type: number description: API version for the callback URL. Start with 1. format: int32 nullable: true displayName: type: string description: Name of the workforce integration. nullable: true eligibilityFilteringEnabledEntities: $ref: '#/components/schemas/microsoft.graph.eligibilityFilteringEnabledEntities' encryption: $ref: '#/components/schemas/microsoft.graph.workforceIntegrationEncryption' isActive: type: boolean description: Indicates whether this workforce integration is currently active and available. nullable: true supportedEntities: $ref: '#/components/schemas/microsoft.graph.workforceIntegrationSupportedEntities' url: type: string description: Workforce Integration URL for callbacks from the Shifts service. nullable: true additionalProperties: type: object microsoft.graph.userTeamwork: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: userTeamwork type: object properties: locale: type: string description: 'Represents the location that a user selected in Microsoft Teams and doesn''t follow the Office''s locale setting. A user''s locale is represented by their preferred language and country or region. For example, en-us. The language component follows two-letter codes as defined in ISO 639-1, and the country component follows two-letter codes as defined in ISO 3166-1 alpha-2.' nullable: true region: type: string description: 'Represents the region of the organization or the user. For users with multigeo licenses, the property contains the user''s region (if available). For users without multigeo licenses, the property contains the organization''s region.The region value can be any region supported by the Teams payload. The possible values are: Americas, Europe and MiddleEast, Asia Pacific, UAE, Australia, Brazil, Canada, Switzerland, Germany, France, India, Japan, South Korea, Norway, Singapore, United Kingdom, South Africa, Sweden, Qatar, Poland, Italy, Israel, Spain, Mexico, USGov Community Cloud, USGov Community Cloud High, USGov Department of Defense, and China.' nullable: true associatedTeams: type: array items: $ref: '#/components/schemas/microsoft.graph.associatedTeamInfo' description: The list of associatedTeamInfo objects that a user is associated with. x-ms-navigationProperty: true installedApps: type: array items: $ref: '#/components/schemas/microsoft.graph.userScopeTeamsAppInstallation' description: The apps installed in the personal scope of this user. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.associatedTeamInfo: allOf: - $ref: '#/components/schemas/microsoft.graph.teamInfo' - title: associatedTeamInfo type: object additionalProperties: type: object microsoft.graph.userScopeTeamsAppInstallation: allOf: - $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' - title: userScopeTeamsAppInstallation type: object properties: chat: $ref: '#/components/schemas/microsoft.graph.chat' additionalProperties: type: object microsoft.graph.entity: title: entity type: object properties: id: type: string description: The unique identifier for an entity. Read-only. additionalProperties: type: object microsoft.graph.teamsAppDistributionMethod: title: teamsAppDistributionMethod enum: - store - organization - sideloaded - unknownFutureValue type: string microsoft.graph.teamsAppAuthorization: title: teamsAppAuthorization type: object properties: clientAppId: type: string description: The registration ID of the Microsoft Entra app ID associated with the teamsApp. nullable: true requiredPermissionSet: $ref: '#/components/schemas/microsoft.graph.teamsAppPermissionSet' additionalProperties: type: object microsoft.graph.identitySet: title: identitySet type: object properties: application: $ref: '#/components/schemas/microsoft.graph.identity' device: $ref: '#/components/schemas/microsoft.graph.identity' user: $ref: '#/components/schemas/microsoft.graph.identity' additionalProperties: type: object microsoft.graph.teamsAppPublishingState: title: teamsAppPublishingState enum: - submitted - rejected - published - unknownFutureValue type: string microsoft.graph.chatType: title: chatType enum: - oneOnOne - group - meeting - unknownFutureValue type: string microsoft.graph.migrationMode: title: migrationMode enum: - inProgress - completed - unknownFutureValue type: string microsoft.graph.teamworkOnlineMeetingInfo: title: teamworkOnlineMeetingInfo type: object properties: calendarEventId: type: string description: The identifier of the calendar event associated with the meeting. nullable: true joinWebUrl: type: string description: The URL that users click to join or uniquely identify the meeting. nullable: true organizer: $ref: '#/components/schemas/microsoft.graph.teamworkUserIdentity' additionalProperties: type: object microsoft.graph.chatViewpoint: title: chatViewpoint type: object properties: isHidden: type: boolean description: Indicates whether the chat is hidden for the current user. nullable: true lastMessageReadDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Represents the dateTime up until which the current user has read chatMessages in a specific chat. format: date-time nullable: true additionalProperties: type: object microsoft.graph.teamsAppResourceSpecificPermission: title: teamsAppResourceSpecificPermission type: object properties: permissionType: $ref: '#/components/schemas/microsoft.graph.teamsAppResourceSpecificPermissionType' permissionValue: type: string description: The name of the resource-specific permission. nullable: true additionalProperties: type: object microsoft.graph.eventMessageDetail: title: eventMessageDetail type: object additionalProperties: type: object microsoft.graph.chatMessageFromIdentitySet: allOf: - $ref: '#/components/schemas/microsoft.graph.identitySet' - title: chatMessageFromIdentitySet type: object additionalProperties: type: object microsoft.graph.chatMessageType: title: chatMessageType enum: - message - chatEvent - typing - unknownFutureValue - systemEventMessage type: string microsoft.graph.publicError: title: publicError type: object properties: code: type: string description: Represents the error code. nullable: true details: type: array items: $ref: '#/components/schemas/microsoft.graph.publicErrorDetail' description: Details of the error. innerError: $ref: '#/components/schemas/microsoft.graph.publicInnerError' message: type: string description: A non-localized message for the developer. nullable: true target: type: string description: The target of the error. nullable: true additionalProperties: type: object microsoft.graph.chatMessageAttachment: title: chatMessageAttachment type: object properties: content: type: string description: 'The content of the attachment. If the attachment is a rich card, set the property to the rich card object. This property and contentUrl are mutually exclusive.' nullable: true contentType: type: string description: 'The media type of the content attachment. The possible values are: reference: The attachment is a link to another file. Populate the contentURL with the link to the object.forwardedMessageReference: The attachment is a reference to a forwarded message. Populate the content with the original message context.Any contentType that is supported by the Bot Framework''s Attachment object.application/vnd.microsoft.card.codesnippet: A code snippet. application/vnd.microsoft.card.announcement: An announcement header.' nullable: true contentUrl: type: string description: The URL for the content of the attachment. nullable: true id: type: string description: Read-only. The unique ID of the attachment. nullable: true name: type: string description: The name of the attachment. nullable: true teamsAppId: type: string description: The ID of the Teams app that is associated with the attachment. The property is used to attribute a Teams message card to the specified app. nullable: true thumbnailUrl: type: string description: 'The URL to a thumbnail image that the channel can use if it supports using an alternative, smaller form of content or contentUrl. For example, if you set contentType to application/word and set contentUrl to the location of the Word document, you might include a thumbnail image that represents the document. The channel could display the thumbnail image instead of the document. When the user selects the image, the channel would open the document.' nullable: true additionalProperties: type: object microsoft.graph.channelIdentity: title: channelIdentity type: object properties: channelId: type: string description: The identity of the channel in which the message was posted. nullable: true teamId: type: string description: The identity of the team in which the message was posted. nullable: true additionalProperties: type: object microsoft.graph.chatMessageImportance: title: chatMessageImportance enum: - normal - high - urgent - unknownFutureValue type: string microsoft.graph.chatMessageMention: title: chatMessageMention type: object properties: id: maximum: 2147483647 minimum: -2147483648 type: number description: 'Index of an entity being mentioned in the specified chatMessage. Matches the {index} value in the corresponding tag in the message body.' format: int32 nullable: true mentioned: $ref: '#/components/schemas/microsoft.graph.chatMessageMentionedIdentitySet' mentionText: type: string description: 'String used to represent the mention. For example, a user''s display name, a team name.' nullable: true additionalProperties: type: object microsoft.graph.chatMessageHistoryItem: title: chatMessageHistoryItem type: object properties: actions: $ref: '#/components/schemas/microsoft.graph.chatMessageActions' modifiedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: The date and time when the message was modified. format: date-time reaction: $ref: '#/components/schemas/microsoft.graph.chatMessageReaction' additionalProperties: type: object microsoft.graph.chatMessagePolicyViolation: title: chatMessagePolicyViolation type: object properties: dlpAction: $ref: '#/components/schemas/microsoft.graph.chatMessagePolicyViolationDlpActionTypes' justificationText: type: string description: Justification text provided by the sender of the message when overriding a policy violation. nullable: true policyTip: $ref: '#/components/schemas/microsoft.graph.chatMessagePolicyViolationPolicyTip' userAction: $ref: '#/components/schemas/microsoft.graph.chatMessagePolicyViolationUserActionTypes' verdictDetails: $ref: '#/components/schemas/microsoft.graph.chatMessagePolicyViolationVerdictDetailsTypes' additionalProperties: type: object microsoft.graph.chatMessageReaction: title: chatMessageReaction type: object properties: createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.' format: date-time displayName: type: string description: The name of the reaction. nullable: true reactionContentUrl: type: string description: The hosted content URL for the custom reaction type. nullable: true reactionType: type: string description: 'The reaction type. Supported values include Unicode characters, custom, and some backward-compatible reaction types, such as like, angry, sad, laugh, heart, and surprised.' user: $ref: '#/components/schemas/microsoft.graph.chatMessageReactionIdentitySet' additionalProperties: type: object microsoft.graph.teamworkHostedContent: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: teamworkHostedContent type: object properties: contentBytes: type: string description: Write only. Bytes for the hosted content (such as images). format: base64url nullable: true contentType: type: string description: 'Write only. Content type. such as image/png, image/jpg.' nullable: true additionalProperties: type: object microsoft.graph.identity: title: identity type: object properties: displayName: type: string description: 'The display name of the identity.For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don''t show up as changed when using delta.' nullable: true id: type: string description: 'Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that''s subject to review.' nullable: true additionalProperties: type: object microsoft.graph.teamworkUserIdentityType: title: teamworkUserIdentityType enum: - aadUser - onPremiseAadUser - anonymousGuest - federatedUser - personalMicrosoftAccountUser - skypeUser - phoneUser - unknownFutureValue - emailUser type: string microsoft.graph.teamworkActivityTopicSource: title: teamworkActivityTopicSource enum: - entityUrl - text type: string microsoft.graph.bodyType: title: bodyType enum: - text - html type: string microsoft.graph.directoryObject: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: directoryObject type: object properties: deletedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Date and time when this object was deleted. Always null when the object hasn't been deleted. format: date-time nullable: true additionalProperties: type: object microsoft.graph.teamsTabConfiguration: title: teamsTabConfiguration type: object properties: contentUrl: type: string description: Url used for rendering tab contents in Teams. Required. nullable: true entityId: type: string description: Identifier for the entity hosted by the tab provider. nullable: true removeUrl: type: string description: Url called by Teams client when a Tab is removed using the Teams Client. nullable: true websiteUrl: type: string description: Url for showing tab contents outside of Teams. nullable: true additionalProperties: type: object microsoft.graph.teamFunSettings: title: teamFunSettings type: object properties: allowCustomMemes: type: boolean description: 'If set to true, enables users to include custom memes.' nullable: true allowGiphy: type: boolean description: 'If set to true, enables Giphy use.' nullable: true allowStickersAndMemes: type: boolean description: 'If set to true, enables users to include stickers and memes.' nullable: true giphyContentRating: $ref: '#/components/schemas/microsoft.graph.giphyRatingType' additionalProperties: type: object microsoft.graph.teamGuestSettings: title: teamGuestSettings type: object properties: allowCreateUpdateChannels: type: boolean description: 'If set to true, guests can add and update channels.' nullable: true allowDeleteChannels: type: boolean description: 'If set to true, guests can delete channels.' nullable: true additionalProperties: type: object microsoft.graph.teamMemberSettings: title: teamMemberSettings type: object properties: allowAddRemoveApps: type: boolean description: 'If set to true, members can add and remove apps.' nullable: true allowCreatePrivateChannels: type: boolean description: 'If set to true, members can add and update private channels.' nullable: true allowCreateUpdateChannels: type: boolean description: 'If set to true, members can add and update channels.' nullable: true allowCreateUpdateRemoveConnectors: type: boolean description: 'If set to true, members can add, update, and remove connectors.' nullable: true allowCreateUpdateRemoveTabs: type: boolean description: 'If set to true, members can add, update, and remove tabs.' nullable: true allowDeleteChannels: type: boolean description: 'If set to true, members can delete channels.' nullable: true additionalProperties: type: object microsoft.graph.teamMessagingSettings: title: teamMessagingSettings type: object properties: allowChannelMentions: type: boolean description: 'If set to true, @channel mentions are allowed.' nullable: true allowOwnerDeleteMessages: type: boolean description: 'If set to true, owners can delete any message.' nullable: true allowTeamMentions: type: boolean description: 'If set to true, @team mentions are allowed.' nullable: true allowUserDeleteMessages: type: boolean description: 'If set to true, users can delete their messages.' nullable: true allowUserEditMessages: type: boolean description: 'If set to true, users can edit their messages.' nullable: true additionalProperties: type: object microsoft.graph.teamSpecialization: title: teamSpecialization enum: - none - educationStandard - educationClass - educationProfessionalLearningCommunity - educationStaff - healthcareStandard - healthcareCareCoordination - unknownFutureValue type: string microsoft.graph.teamSummary: title: teamSummary type: object properties: guestsCount: maximum: 2147483647 minimum: -2147483648 type: number description: Count of guests in a team. format: int32 nullable: true membersCount: maximum: 2147483647 minimum: -2147483648 type: number description: Count of members in a team. format: int32 nullable: true ownersCount: maximum: 2147483647 minimum: -2147483648 type: number description: Count of owners in a team. format: int32 nullable: true additionalProperties: type: object microsoft.graph.channelLayoutType: title: channelLayoutType enum: - post - chat - unknownFutureValue type: string microsoft.graph.channelMembershipType: title: channelMembershipType enum: - standard - private - unknownFutureValue - shared type: string microsoft.graph.channelSummary: title: channelSummary type: object properties: guestsCount: maximum: 2147483647 minimum: -2147483648 type: number description: Count of guests in a channel. format: int32 nullable: true hasMembersFromOtherTenants: type: boolean description: Indicates whether external members are included on the channel. nullable: true membersCount: maximum: 2147483647 minimum: -2147483648 type: number description: Count of members in a channel. format: int32 nullable: true ownersCount: maximum: 2147483647 minimum: -2147483648 type: number description: Count of owners in a channel. format: int32 nullable: true additionalProperties: type: object microsoft.graph.baseItem: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: baseItem type: object properties: createdBy: $ref: '#/components/schemas/microsoft.graph.identitySet' createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Date and time of item creation. Read-only. format: date-time description: type: string description: Provides a user-visible description of the item. Optional. nullable: true eTag: type: string description: ETag for the item. Read-only. nullable: true lastModifiedBy: $ref: '#/components/schemas/microsoft.graph.identitySet' lastModifiedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Date and time the item was last modified. Read-only. format: date-time name: type: string description: The name of the item. Read-write. nullable: true parentReference: $ref: '#/components/schemas/microsoft.graph.itemReference' webUrl: type: string description: 'URL that either displays the resource in the browser (for Office file formats), or is a direct link to the file (for other formats). Read-only.' nullable: true createdByUser: $ref: '#/components/schemas/microsoft.graph.user' lastModifiedByUser: $ref: '#/components/schemas/microsoft.graph.user' additionalProperties: type: object microsoft.graph.audio: title: audio type: object properties: album: type: string description: The title of the album for this audio file. nullable: true albumArtist: type: string description: The artist named on the album for the audio file. nullable: true artist: type: string description: The performing artist for the audio file. nullable: true bitrate: type: number description: Bitrate expressed in kbps. format: int64 nullable: true composers: type: string description: The name of the composer of the audio file. nullable: true copyright: type: string description: Copyright information for the audio file. nullable: true disc: maximum: 32767 minimum: -32768 type: number description: The number of the disc this audio file came from. format: int16 nullable: true discCount: maximum: 32767 minimum: -32768 type: number description: The total number of discs in this album. format: int16 nullable: true duration: type: number description: 'Duration of the audio file, expressed in milliseconds' format: int64 nullable: true genre: type: string description: The genre of this audio file. nullable: true hasDrm: type: boolean description: Indicates if the file is protected with digital rights management. nullable: true isVariableBitrate: type: boolean description: Indicates if the file is encoded with a variable bitrate. nullable: true title: type: string description: The title of the audio file. nullable: true track: maximum: 2147483647 minimum: -2147483648 type: number description: The number of the track on the original disc for this audio file. format: int32 nullable: true trackCount: maximum: 2147483647 minimum: -2147483648 type: number description: The total number of tracks on the original disc for this audio file. format: int32 nullable: true year: maximum: 2147483647 minimum: -2147483648 type: number description: The year the audio file was recorded. format: int32 nullable: true additionalProperties: type: object microsoft.graph.bundle: title: bundle type: object properties: album: $ref: '#/components/schemas/microsoft.graph.album' childCount: maximum: 2147483647 minimum: -2147483648 type: number description: Number of children contained immediately within this container. format: int32 nullable: true additionalProperties: type: object microsoft.graph.deleted: title: deleted type: object properties: state: type: string description: Represents the state of the deleted item. nullable: true additionalProperties: type: object microsoft.graph.file: title: file type: object properties: hashes: $ref: '#/components/schemas/microsoft.graph.hashes' mimeType: type: string description: The MIME type for the file. This is determined by logic on the server and might not be the value provided when the file was uploaded. Read-only. nullable: true processingMetadata: type: boolean nullable: true additionalProperties: type: object microsoft.graph.fileSystemInfo: title: fileSystemInfo type: object properties: createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: The UTC date and time the file was created on a client. format: date-time nullable: true lastAccessedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: The UTC date and time the file was last accessed. Available for the recent file list only. format: date-time nullable: true lastModifiedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: The UTC date and time the file was last modified on a client. format: date-time nullable: true additionalProperties: type: object microsoft.graph.folder: title: folder type: object properties: childCount: maximum: 2147483647 minimum: -2147483648 type: number description: Number of children contained immediately within this container. format: int32 nullable: true view: $ref: '#/components/schemas/microsoft.graph.folderView' additionalProperties: type: object microsoft.graph.image: title: image type: object properties: height: maximum: 2147483647 minimum: -2147483648 type: number description: 'Optional. Height of the image, in pixels. Read-only.' format: int32 nullable: true width: maximum: 2147483647 minimum: -2147483648 type: number description: 'Optional. Width of the image, in pixels. Read-only.' format: int32 nullable: true additionalProperties: type: object microsoft.graph.geoCoordinates: title: geoCoordinates type: object properties: altitude: type: number description: 'Optional. The altitude (height), in feet, above sea level for the item. Read-only.' format: double nullable: true latitude: type: number description: 'Optional. The latitude, in decimal, for the item. Read-only.' format: double nullable: true longitude: type: number description: 'Optional. The longitude, in decimal, for the item. Read-only.' format: double nullable: true additionalProperties: type: object microsoft.graph.malware: title: malware type: object properties: description: type: string description: Contains the virus details for the malware facet. nullable: true additionalProperties: type: object microsoft.graph.package: title: package type: object properties: type: type: string description: 'A string indicating the type of package. While oneNote is the only currently defined value, you should expect other package types to be returned and handle them accordingly.' nullable: true additionalProperties: type: object microsoft.graph.pendingOperations: title: pendingOperations type: object properties: pendingContentUpdate: $ref: '#/components/schemas/microsoft.graph.pendingContentUpdate' additionalProperties: type: object microsoft.graph.photo: title: photo type: object properties: cameraMake: type: string description: Camera manufacturer. Read-only. nullable: true cameraModel: type: string description: Camera model. Read-only. nullable: true exposureDenominator: type: number description: The denominator for the exposure time fraction from the camera. Read-only. format: double nullable: true exposureNumerator: type: number description: The numerator for the exposure time fraction from the camera. Read-only. format: double nullable: true fNumber: type: number description: The F-stop value from the camera. Read-only. format: double nullable: true focalLength: type: number description: The focal length from the camera. Read-only. format: double nullable: true iso: maximum: 2147483647 minimum: -2147483648 type: number description: The ISO value from the camera. Read-only. format: int32 nullable: true orientation: maximum: 32767 minimum: -32768 type: number description: The orientation value from the camera. Writable on OneDrive Personal. format: int16 nullable: true takenDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Represents the date and time the photo was taken. Read-only. format: date-time nullable: true additionalProperties: type: object microsoft.graph.publicationFacet: title: publicationFacet type: object properties: checkedOutBy: $ref: '#/components/schemas/microsoft.graph.identitySet' level: type: string description: The state of publication for this document. Either published or checkout. Read-only. nullable: true versionId: type: string description: The unique identifier for the version that is visible to the current caller. Read-only. nullable: true additionalProperties: type: object microsoft.graph.remoteItem: title: remoteItem type: object properties: createdBy: $ref: '#/components/schemas/microsoft.graph.identitySet' createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Date and time of item creation. Read-only. format: date-time nullable: true file: $ref: '#/components/schemas/microsoft.graph.file' fileSystemInfo: $ref: '#/components/schemas/microsoft.graph.fileSystemInfo' folder: $ref: '#/components/schemas/microsoft.graph.folder' id: type: string description: Unique identifier for the remote item in its drive. Read-only. nullable: true image: $ref: '#/components/schemas/microsoft.graph.image' lastModifiedBy: $ref: '#/components/schemas/microsoft.graph.identitySet' lastModifiedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Date and time the item was last modified. Read-only. format: date-time nullable: true name: type: string description: Optional. Filename of the remote item. Read-only. nullable: true package: $ref: '#/components/schemas/microsoft.graph.package' parentReference: $ref: '#/components/schemas/microsoft.graph.itemReference' shared: $ref: '#/components/schemas/microsoft.graph.shared' sharepointIds: $ref: '#/components/schemas/microsoft.graph.sharepointIds' size: type: number description: Size of the remote item. Read-only. format: int64 nullable: true specialFolder: $ref: '#/components/schemas/microsoft.graph.specialFolder' video: $ref: '#/components/schemas/microsoft.graph.video' webDavUrl: type: string description: DAV compatible URL for the item. nullable: true webUrl: type: string description: URL that displays the resource in the browser. Read-only. nullable: true additionalProperties: type: object microsoft.graph.root: title: root type: object additionalProperties: type: object microsoft.graph.searchResult: title: searchResult type: object properties: onClickTelemetryUrl: type: string description: A callback URL that can be used to record telemetry information. The application should issue a GET on this URL if the user interacts with this item to improve the quality of results. nullable: true additionalProperties: type: object microsoft.graph.shared: title: shared type: object properties: owner: $ref: '#/components/schemas/microsoft.graph.identitySet' scope: type: string description: 'Indicates the scope of how the item is shared. The possible values are: anonymous, organization, or users. Read-only.' nullable: true sharedBy: $ref: '#/components/schemas/microsoft.graph.identitySet' sharedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: The UTC date and time when the item was shared. Read-only. format: date-time nullable: true additionalProperties: type: object microsoft.graph.sharepointIds: title: sharepointIds type: object properties: listId: type: string description: The unique identifier (guid) for the item's list in SharePoint. nullable: true listItemId: type: string description: An integer identifier for the item within the containing list. nullable: true listItemUniqueId: type: string description: The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site. nullable: true siteId: type: string description: The unique identifier (guid) for the item's site collection (SPSite). nullable: true siteUrl: type: string description: The SharePoint URL for the site that contains the item. nullable: true tenantId: type: string description: The unique identifier (guid) for the tenancy. nullable: true webId: type: string description: The unique identifier (guid) for the item's site (SPWeb). nullable: true additionalProperties: type: object microsoft.graph.specialFolder: title: specialFolder type: object properties: name: type: string description: The unique identifier for this item in the /drive/special collection nullable: true additionalProperties: type: object microsoft.graph.video: title: video type: object properties: audioBitsPerSample: maximum: 2147483647 minimum: -2147483648 type: number description: Number of audio bits per sample. format: int32 nullable: true audioChannels: maximum: 2147483647 minimum: -2147483648 type: number description: Number of audio channels. format: int32 nullable: true audioFormat: type: string description: 'Name of the audio format (AAC, MP3, etc.).' nullable: true audioSamplesPerSecond: maximum: 2147483647 minimum: -2147483648 type: number description: Number of audio samples per second. format: int32 nullable: true bitrate: maximum: 2147483647 minimum: -2147483648 type: number description: Bit rate of the video in bits per second. format: int32 nullable: true duration: type: number description: Duration of the file in milliseconds. format: int64 nullable: true fourCC: type: string description: '''Four character code'' name of the video format.' nullable: true frameRate: type: number description: Frame rate of the video. format: double nullable: true height: maximum: 2147483647 minimum: -2147483648 type: number description: 'Height of the video, in pixels.' format: int32 nullable: true width: maximum: 2147483647 minimum: -2147483648 type: number description: 'Width of the video, in pixels.' format: int32 nullable: true additionalProperties: type: object microsoft.graph.itemAnalytics: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: itemAnalytics type: object properties: allTime: $ref: '#/components/schemas/microsoft.graph.itemActivityStat' itemActivityStats: type: array items: $ref: '#/components/schemas/microsoft.graph.itemActivityStat' x-ms-navigationProperty: true lastSevenDays: $ref: '#/components/schemas/microsoft.graph.itemActivityStat' additionalProperties: type: object microsoft.graph.listItem: allOf: - $ref: '#/components/schemas/microsoft.graph.baseItem' - title: listItem type: object properties: contentType: $ref: '#/components/schemas/microsoft.graph.contentTypeInfo' deleted: $ref: '#/components/schemas/microsoft.graph.deleted' sharepointIds: $ref: '#/components/schemas/microsoft.graph.sharepointIds' analytics: $ref: '#/components/schemas/microsoft.graph.itemAnalytics' documentSetVersions: type: array items: $ref: '#/components/schemas/microsoft.graph.documentSetVersion' description: Version information for a document set version created by a user. x-ms-navigationProperty: true driveItem: $ref: '#/components/schemas/microsoft.graph.driveItem' fields: $ref: '#/components/schemas/microsoft.graph.fieldValueSet' permissions: type: array items: $ref: '#/components/schemas/microsoft.graph.permission' description: The set of permissions for the item. Read-only. Nullable. x-ms-navigationProperty: true versions: type: array items: $ref: '#/components/schemas/microsoft.graph.listItemVersion' description: The list of previous versions of the list item. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.permission: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: permission type: object properties: expirationDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: A format of yyyy-MM-ddTHH:mm:ssZ of DateTimeOffset indicates the expiration time of the permission. DateTime.MinValue indicates there's no expiration set for this permission. Optional. format: date-time nullable: true grantedTo: $ref: '#/components/schemas/microsoft.graph.identitySet' grantedToIdentities: type: array items: $ref: '#/components/schemas/microsoft.graph.identitySet' description: 'For type permissions, the details of the users to whom permission was granted. Read-only.' grantedToIdentitiesV2: type: array items: $ref: '#/components/schemas/microsoft.graph.sharePointIdentitySet' description: 'For link type permissions, the details of the users to whom permission was granted. Read-only.' grantedToV2: $ref: '#/components/schemas/microsoft.graph.sharePointIdentitySet' hasPassword: type: boolean description: Indicates whether the password is set for this permission. This property only appears in the response. Optional. Read-only. For OneDrive Personal only.. nullable: true inheritedFrom: $ref: '#/components/schemas/microsoft.graph.itemReference' invitation: $ref: '#/components/schemas/microsoft.graph.sharingInvitation' link: $ref: '#/components/schemas/microsoft.graph.sharingLink' roles: type: array items: type: string nullable: true description: 'The type of permission, for example, read. See below for the full list of roles. Read-only.' shareId: type: string description: A unique token that can be used to access this shared item via the shares API. Read-only. nullable: true additionalProperties: type: object microsoft.graph.itemRetentionLabel: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: itemRetentionLabel type: object properties: isLabelAppliedExplicitly: type: boolean description: 'Specifies whether the label is applied explicitly on the item. True indicates that the label is applied explicitly; otherwise, the label is inherited from its parent. Read-only.' nullable: true labelAppliedBy: $ref: '#/components/schemas/microsoft.graph.identitySet' labelAppliedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'The date and time when the label was applied on the item. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.' format: date-time nullable: true name: type: string description: The retention label on the document. Read-write. nullable: true retentionSettings: $ref: '#/components/schemas/microsoft.graph.retentionLabelSettings' additionalProperties: type: object microsoft.graph.subscription: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: subscription type: object properties: applicationId: type: string description: Optional. Identifier of the application used to create the subscription. Read-only. nullable: true changeType: type: string description: 'Required. Indicates the type of change in the subscribed resource that raises a change notification. The supported values are: created, updated, deleted. Multiple values can be combined using a comma-separated list. Note: Drive root item and list change notifications support only the updated changeType. User and group change notifications support updated and deleted changeType. Use updated to receive notifications when user or group is created, updated, or soft deleted. Use deleted to receive notifications when user or group is permanently deleted.' clientState: type: string description: Optional. Specifies the value of the clientState property sent by the service in each change notification. The maximum length is 128 characters. The client can check that the change notification came from the service by comparing the value of the clientState property sent with the subscription with the value of the clientState property received with each change notification. nullable: true creatorId: type: string description: 'Optional. Identifier of the user or service principal that created the subscription. If the app used delegated permissions to create the subscription, this field contains the ID of the signed-in user the app called on behalf of. If the app used application permissions, this field contains the ID of the service principal corresponding to the app. Read-only.' nullable: true encryptionCertificate: type: string description: Optional. A base64-encoded representation of a certificate with a public key used to encrypt resource data in change notifications. Optional but required when includeResourceData is true. nullable: true encryptionCertificateId: type: string description: Optional. A custom app-provided identifier to help identify the certificate needed to decrypt resource data. nullable: true expirationDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'Required. Specifies the date and time when the webhook subscription expires. The time is in UTC, and can be an amount of time from subscription creation that varies for the resource subscribed to. Any value under 45 minutes after the time of the request is automatically set to 45 minutes after the request time. For the maximum supported subscription length of time, see Subscription lifetime.' format: date-time includeResourceData: type: boolean description: 'Optional. When set to true, change notifications include resource data (such as content of a chat message).' nullable: true latestSupportedTlsVersion: type: string description: 'Optional. Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v10, v11, v12, v13. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2.' nullable: true lifecycleNotificationUrl: type: string description: 'Required for Teams resources if the expirationDateTime value is more than 1 hour from now; optional otherwise. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved, reauthorizationRequired, and missed notifications. This URL must make use of the HTTPS protocol. For more information, see Reduce missing subscriptions and change notifications.' nullable: true notificationQueryOptions: type: string description: 'Optional. OData query options for specifying value for the targeting resource. Clients receive notifications when resource reaches the state matching the query options provided here. With this new property in the subscription creation payload along with all existing properties, Webhooks deliver notifications whenever a resource reaches the desired state mentioned in the notificationQueryOptions property. For example, when the print job is completed or when a print job resource isFetchable property value becomes true etc. Supported only for Universal Print Service. For more information, see Subscribe to change notifications from cloud printing APIs using Microsoft Graph.' nullable: true notificationUrl: type: string description: Required. The URL of the endpoint that receives the change notifications. This URL must make use of the HTTPS protocol. Any query string parameter included in the notificationUrl property is included in the HTTP POST request when Microsoft Graph sends the change notifications. notificationUrlAppId: type: string description: Optional. The app ID that the subscription service can use to generate the validation token. The value allows the client to validate the authenticity of the notification received. nullable: true resource: type: string description: Required. Specifies the resource that is monitored for changes. Don't include the base URL (https://graph.microsoft.com/v1.0/). See the possible resource path values for each supported resource. additionalProperties: type: object microsoft.graph.thumbnailSet: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: thumbnailSet type: object properties: large: $ref: '#/components/schemas/microsoft.graph.thumbnail' medium: $ref: '#/components/schemas/microsoft.graph.thumbnail' small: $ref: '#/components/schemas/microsoft.graph.thumbnail' source: $ref: '#/components/schemas/microsoft.graph.thumbnail' additionalProperties: type: object microsoft.graph.driveItemVersion: allOf: - $ref: '#/components/schemas/microsoft.graph.baseItemVersion' - title: driveItemVersion type: object properties: content: type: string description: The content stream for this version of the item. format: base64url nullable: true size: type: number description: Indicates the size of the content stream for this version of the item. format: int64 nullable: true additionalProperties: type: object microsoft.graph.workbook: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: workbook type: object properties: application: $ref: '#/components/schemas/microsoft.graph.workbookApplication' comments: type: array items: $ref: '#/components/schemas/microsoft.graph.workbookComment' description: Represents a collection of comments in a workbook. x-ms-navigationProperty: true functions: $ref: '#/components/schemas/microsoft.graph.workbookFunctions' names: type: array items: $ref: '#/components/schemas/microsoft.graph.workbookNamedItem' description: Represents a collection of workbooks scoped named items (named ranges and constants). Read-only. x-ms-navigationProperty: true operations: type: array items: $ref: '#/components/schemas/microsoft.graph.workbookOperation' description: 'The status of workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only.' x-ms-navigationProperty: true tables: type: array items: $ref: '#/components/schemas/microsoft.graph.workbookTable' description: Represents a collection of tables associated with the workbook. Read-only. x-ms-navigationProperty: true worksheets: type: array items: $ref: '#/components/schemas/microsoft.graph.workbookWorksheet' description: Represents a collection of worksheets associated with the workbook. Read-only. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.teamInfo: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: teamInfo type: object properties: displayName: type: string description: The name of the team. nullable: true tenantId: type: string description: The ID of the Microsoft Entra tenant. nullable: true team: $ref: '#/components/schemas/microsoft.graph.team' additionalProperties: type: object microsoft.graph.groupAccessType: title: groupAccessType enum: - none - private - secret - public - unknownFutureValue type: string microsoft.graph.assignedLabel: title: assignedLabel type: object properties: displayName: type: string description: The display name of the label. Read-only. nullable: true labelId: type: string description: The unique identifier of the label. nullable: true additionalProperties: type: object microsoft.graph.assignedLicense: title: assignedLicense type: object properties: disabledPlans: type: array items: pattern: '^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$' type: string format: uuid description: A collection of the unique identifiers for plans that have been disabled. IDs are available in servicePlans > servicePlanId in the tenant's subscribedSkus or serviceStatus > servicePlanId in the tenant's companySubscription. skuId: pattern: '^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$' type: string description: The unique identifier for the SKU. Corresponds to the skuId from subscribedSkus or companySubscription. format: uuid nullable: true additionalProperties: type: object microsoft.graph.licenseProcessingState: title: licenseProcessingState type: object properties: state: type: string nullable: true additionalProperties: type: object microsoft.graph.onPremisesExtensionAttributes: title: onPremisesExtensionAttributes type: object properties: extensionAttribute1: type: string description: First customizable extension attribute. nullable: true extensionAttribute10: type: string description: Tenth customizable extension attribute. nullable: true extensionAttribute11: type: string description: Eleventh customizable extension attribute. nullable: true extensionAttribute12: type: string description: Twelfth customizable extension attribute. nullable: true extensionAttribute13: type: string description: Thirteenth customizable extension attribute. nullable: true extensionAttribute14: type: string description: Fourteenth customizable extension attribute. nullable: true extensionAttribute15: type: string description: Fifteenth customizable extension attribute. nullable: true extensionAttribute2: type: string description: Second customizable extension attribute. nullable: true extensionAttribute3: type: string description: Third customizable extension attribute. nullable: true extensionAttribute4: type: string description: Fourth customizable extension attribute. nullable: true extensionAttribute5: type: string description: Fifth customizable extension attribute. nullable: true extensionAttribute6: type: string description: Sixth customizable extension attribute. nullable: true extensionAttribute7: type: string description: Seventh customizable extension attribute. nullable: true extensionAttribute8: type: string description: Eighth customizable extension attribute. nullable: true extensionAttribute9: type: string description: Ninth customizable extension attribute. nullable: true additionalProperties: type: object microsoft.graph.onPremisesProvisioningError: title: onPremisesProvisioningError type: object properties: category: type: string description: 'Category of the provisioning error. Note: Currently, there is only one possible value. Possible value: PropertyConflict - indicates a property value is not unique. Other objects contain the same value for the property.' nullable: true occurredDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: The date and time at which the error occurred. format: date-time nullable: true propertyCausingError: type: string description: 'Name of the directory property causing the error. Current possible values: UserPrincipalName or ProxyAddress' nullable: true value: type: string description: Value of the property causing the error. nullable: true additionalProperties: type: object microsoft.graph.serviceProvisioningError: title: serviceProvisioningError type: object properties: createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: The date and time at which the error occurred. format: date-time nullable: true isResolved: type: boolean description: Indicates whether the error has been attended to. nullable: true serviceInstance: type: string description: 'Qualified service instance (for example, ''SharePoint/Dublin'') that published the service error information.' nullable: true additionalProperties: type: object microsoft.graph.appRoleAssignment: allOf: - $ref: '#/components/schemas/microsoft.graph.directoryObject' - title: appRoleAssignment type: object properties: appRoleId: pattern: '^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$' type: string description: 'The identifier (id) for the app role that''s assigned to the principal. This app role must be exposed in the appRoles property on the resource application''s service principal (resourceId). If the resource application hasn''t declared any app roles, a default app role ID of 00000000-0000-0000-0000-000000000000 can be specified to signal that the principal is assigned to the resource app without any specific app roles. Required on create.' format: uuid createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'The time when the app role assignment was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.' format: date-time nullable: true principalDisplayName: type: string description: 'The display name of the user, group, or service principal that was granted the app role assignment. Maximum length is 256 characters. Read-only. Supports $filter (eq and startswith).' nullable: true principalId: pattern: '^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$' type: string description: 'The unique identifier (id) for the user, security group, or service principal being granted the app role. Security groups with dynamic memberships are supported. Required on create.' format: uuid nullable: true principalType: type: string description: 'The type of the assigned principal. This can either be User, Group, or ServicePrincipal. Read-only.' nullable: true resourceDisplayName: type: string description: The display name of the resource app's service principal to which the assignment is made. Maximum length is 256 characters. nullable: true resourceId: pattern: '^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$' type: string description: The unique identifier (id) for the resource service principal for which the assignment is made. Required on create. Supports $filter (eq only). format: uuid nullable: true additionalProperties: type: object microsoft.graph.calendar: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: calendar type: object properties: allowedOnlineMeetingProviders: type: array items: $ref: '#/components/schemas/microsoft.graph.onlineMeetingProviderType' description: 'Represent the online meeting service providers that can be used to create online meetings in this calendar. The possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness.' canEdit: type: boolean description: 'true if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who shared a calendar and granted write access.' nullable: true canShare: type: boolean description: 'true if the user has permission to share the calendar, false otherwise. Only the user who created the calendar can share it.' nullable: true canViewPrivateItems: type: boolean description: 'If true, the user can read calendar items that have been marked private, false otherwise.' nullable: true changeKey: type: string description: 'Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.' nullable: true color: $ref: '#/components/schemas/microsoft.graph.calendarColor' defaultOnlineMeetingProvider: $ref: '#/components/schemas/microsoft.graph.onlineMeetingProviderType' hexColor: type: string description: 'The calendar color, expressed in a hex color code of three hexadecimal values, each ranging from 00 to FF and representing the red, green, or blue components of the color in the RGB color space. If the user has never explicitly set a color for the calendar, this property is empty. Read-only.' nullable: true isDefaultCalendar: type: boolean description: 'true if this is the default calendar where new events are created by default, false otherwise.' nullable: true isRemovable: type: boolean description: Indicates whether this user calendar can be deleted from the user mailbox. nullable: true isTallyingResponses: type: boolean description: Indicates whether this user calendar supports tracking of meeting responses. Only meeting invites sent from users' primary calendars support tracking of meeting responses. nullable: true name: type: string description: The calendar name. nullable: true owner: $ref: '#/components/schemas/microsoft.graph.emailAddress' calendarPermissions: type: array items: $ref: '#/components/schemas/microsoft.graph.calendarPermission' description: The permissions of the users with whom the calendar is shared. x-ms-navigationProperty: true calendarView: type: array items: $ref: '#/components/schemas/microsoft.graph.event' description: The calendar view for the calendar. Navigation property. Read-only. x-ms-navigationProperty: true events: type: array items: $ref: '#/components/schemas/microsoft.graph.event' description: The events in the calendar. Navigation property. Read-only. x-ms-navigationProperty: true multiValueExtendedProperties: type: array items: $ref: '#/components/schemas/microsoft.graph.multiValueLegacyExtendedProperty' description: The collection of multi-value extended properties defined for the calendar. Read-only. Nullable. x-ms-navigationProperty: true singleValueExtendedProperties: type: array items: $ref: '#/components/schemas/microsoft.graph.singleValueLegacyExtendedProperty' description: The collection of single-value extended properties defined for the calendar. Read-only. Nullable. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.event: allOf: - $ref: '#/components/schemas/microsoft.graph.outlookItem' - title: event type: object properties: allowNewTimeProposals: type: boolean description: 'true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true.' nullable: true attendees: type: array items: $ref: '#/components/schemas/microsoft.graph.attendee' description: The collection of attendees for the event. body: $ref: '#/components/schemas/microsoft.graph.itemBody' bodyPreview: type: string description: The preview of the message associated with the event. It's in text format. nullable: true cancelledOccurrences: type: array items: type: string description: 'Contains occurrenceId property values of canceled instances in a recurring series, if the event is the series master. Instances in a recurring series that are canceled are called canceled occurences.Requires $select to retrieve. Only returned in a Get operation that specifies the ID (seriesMasterId property value) of a series master event.' end: $ref: '#/components/schemas/microsoft.graph.dateTimeTimeZone' hasAttachments: type: boolean description: Set to true if the event has attachments. nullable: true hideAttendees: type: boolean description: 'When set to true, each attendee only sees themselves in the meeting request and meeting Tracking list. The default is false.' nullable: true iCalUId: type: string description: A unique identifier for an event across calendars. This ID is different for each occurrence in a recurring series. Read-only. nullable: true importance: $ref: '#/components/schemas/microsoft.graph.importance' isAllDay: type: boolean description: 'Set to true if the event lasts all day. If true, regardless of whether it''s a single-day or multi-day event, start, and endtime must be set to midnight and be in the same time zone.' nullable: true isCancelled: type: boolean description: Set to true if the event has been canceled. nullable: true isDraft: type: boolean description: 'Set to true if the user has updated the meeting in Outlook but hasn''t sent the updates to attendees. Set to false if all changes are sent, or if the event is an appointment without any attendees.' nullable: true isOnlineMeeting: type: boolean description: 'True if this event has online meeting information (that is, onlineMeeting points to an onlineMeetingInfo resource), false otherwise. Default is false (onlineMeeting is null). Optional. After you set isOnlineMeeting to true, Microsoft Graph initializes onlineMeeting. Subsequently, Outlook ignores any further changes to isOnlineMeeting, and the meeting remains available online.' nullable: true isOrganizer: type: boolean description: Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). It also applies if a delegate organized the event on behalf of the owner. nullable: true isReminderOn: type: boolean description: Set to true if an alert is set to remind the user of the event. nullable: true location: $ref: '#/components/schemas/microsoft.graph.location' locations: type: array items: $ref: '#/components/schemas/microsoft.graph.location' description: 'The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection are removed and replaced by the new location value.' onlineMeeting: $ref: '#/components/schemas/microsoft.graph.onlineMeetingInfo' onlineMeetingProvider: $ref: '#/components/schemas/microsoft.graph.onlineMeetingProviderType' onlineMeetingUrl: type: string description: 'A URL for an online meeting. The property is set only when an organizer specifies in Outlook that an event is an online meeting such as Skype. Read-only.To access the URL to join an online meeting, use joinUrl which is exposed via the onlineMeeting property of the event. The onlineMeetingUrl property will be deprecated in the future.' nullable: true organizer: $ref: '#/components/schemas/microsoft.graph.recipient' originalEndTimeZone: type: string description: The end time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. nullable: true originalStart: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'Represents the start time of an event when it''s initially created as an occurrence or exception in a recurring series. This property is not returned for events that are single instances. Its date and time information is expressed in ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z' format: date-time nullable: true originalStartTimeZone: type: string description: The start time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. nullable: true recurrence: $ref: '#/components/schemas/microsoft.graph.patternedRecurrence' reminderMinutesBeforeStart: maximum: 2147483647 minimum: -2147483648 type: number description: The number of minutes before the event start time that the reminder alert occurs. format: int32 nullable: true responseRequested: type: boolean description: 'Default is true, which represents the organizer would like an invitee to send a response to the event.' nullable: true responseStatus: $ref: '#/components/schemas/microsoft.graph.responseStatus' sensitivity: $ref: '#/components/schemas/microsoft.graph.sensitivity' seriesMasterId: type: string description: 'The ID for the recurring series master item, if this event is part of a recurring series.' nullable: true showAs: $ref: '#/components/schemas/microsoft.graph.freeBusyStatus' start: $ref: '#/components/schemas/microsoft.graph.dateTimeTimeZone' subject: type: string description: The text of the event's subject line. nullable: true transactionId: type: string description: 'A custom identifier specified by a client app for the server to avoid redundant POST operations in case of client retries to create the same event. It''s useful when low network connectivity causes the client to time out before receiving a response from the server for the client''s prior create-event request. After you set transactionId when creating an event, you can''t change transactionId in a subsequent update. This property is only returned in a response payload if an app has set it. Optional.' nullable: true type: $ref: '#/components/schemas/microsoft.graph.eventType' webLink: type: string description: 'The URL to open the event in Outlook on the web.Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.This URL can''t be accessed from within an iFrame.' nullable: true attachments: type: array items: $ref: '#/components/schemas/microsoft.graph.attachment' description: 'The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.' x-ms-navigationProperty: true calendar: $ref: '#/components/schemas/microsoft.graph.calendar' exceptionOccurrences: type: array items: $ref: '#/components/schemas/microsoft.graph.event' description: 'Contains the id property values of the event instances that are exceptions in a recurring series.Exceptions can differ from other occurrences in a recurring series, such as the subject, start or end times, or attendees. Exceptions don''t include canceled occurrences.Requires $select and $expand to retrieve. Only returned in a GET operation that specifies the ID (seriesMasterId property value) of a series master event.' x-ms-navigationProperty: true extensions: type: array items: $ref: '#/components/schemas/microsoft.graph.extension' description: The collection of open extensions defined for the event. Nullable. x-ms-navigationProperty: true instances: type: array items: $ref: '#/components/schemas/microsoft.graph.event' description: 'The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions modified, but doesn''t include occurrences canceled from the series. Navigation property. Read-only. Nullable.' x-ms-navigationProperty: true multiValueExtendedProperties: type: array items: $ref: '#/components/schemas/microsoft.graph.multiValueLegacyExtendedProperty' description: The collection of multi-value extended properties defined for the event. Read-only. Nullable. x-ms-navigationProperty: true singleValueExtendedProperties: type: array items: $ref: '#/components/schemas/microsoft.graph.singleValueLegacyExtendedProperty' description: The collection of single-value extended properties defined for the event. Read-only. Nullable. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.conversation: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: conversation type: object properties: hasAttachments: type: boolean description: 'Indicates whether any of the posts within this Conversation has at least one attachment. Supports $filter (eq, ne) and $search.' lastDeliveredDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z' format: date-time preview: type: string description: 'A short summary from the body of the latest post in this conversation. Supports $filter (eq, ne, le, ge).' topic: type: string description: 'The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated.' uniqueSenders: type: array items: type: string description: All the users that sent a message to this Conversation. threads: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationThread' description: A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.drive: allOf: - $ref: '#/components/schemas/microsoft.graph.baseItem' - title: drive type: object properties: driveType: type: string description: Describes the type of drive represented by this resource. OneDrive personal drives return personal. OneDrive for Business returns business. SharePoint document libraries return documentLibrary. Read-only. nullable: true owner: $ref: '#/components/schemas/microsoft.graph.identitySet' quota: $ref: '#/components/schemas/microsoft.graph.quota' sharePointIds: $ref: '#/components/schemas/microsoft.graph.sharepointIds' system: $ref: '#/components/schemas/microsoft.graph.systemFacet' bundles: type: array items: $ref: '#/components/schemas/microsoft.graph.driveItem' description: Collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. x-ms-navigationProperty: true following: type: array items: $ref: '#/components/schemas/microsoft.graph.driveItem' description: The list of items the user is following. Only in OneDrive for Business. x-ms-navigationProperty: true items: type: array items: $ref: '#/components/schemas/microsoft.graph.driveItem' description: All items contained in the drive. Read-only. Nullable. x-ms-navigationProperty: true list: $ref: '#/components/schemas/microsoft.graph.list' root: $ref: '#/components/schemas/microsoft.graph.driveItem' special: type: array items: $ref: '#/components/schemas/microsoft.graph.driveItem' description: Collection of common folders available in OneDrive. Read-only. Nullable. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.extension: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: extension type: object additionalProperties: type: object microsoft.graph.groupLifecyclePolicy: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: groupLifecyclePolicy type: object properties: alternateNotificationEmails: type: string description: List of email address to send notifications for groups without owners. Multiple email address can be defined by separating email address with a semicolon. nullable: true groupLifetimeInDays: maximum: 2147483647 minimum: -2147483648 type: number description: 'Number of days before a group expires and needs to be renewed. Once renewed, the group expiration is extended by the number of days defined.' format: int32 nullable: true managedGroupTypes: type: string description: 'The group type for which the expiration policy applies. Possible values are All, Selected or None.' nullable: true additionalProperties: type: object microsoft.graph.onenote: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: onenote type: object properties: notebooks: type: array items: $ref: '#/components/schemas/microsoft.graph.notebook' description: The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. x-ms-navigationProperty: true operations: type: array items: $ref: '#/components/schemas/microsoft.graph.onenoteOperation' description: 'The status of OneNote operations. Getting an operations collection isn''t supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable.' x-ms-navigationProperty: true pages: type: array items: $ref: '#/components/schemas/microsoft.graph.onenotePage' description: The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. x-ms-navigationProperty: true resources: type: array items: $ref: '#/components/schemas/microsoft.graph.onenoteResource' description: 'The image and other file resources in OneNote pages. Getting a resources collection isn''t supported, but you can get the binary content of a specific resource. Read-only. Nullable.' x-ms-navigationProperty: true sectionGroups: type: array items: $ref: '#/components/schemas/microsoft.graph.sectionGroup' description: The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. x-ms-navigationProperty: true sections: type: array items: $ref: '#/components/schemas/microsoft.graph.onenoteSection' description: The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.onPremisesSyncBehavior: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: onPremisesSyncBehavior type: object properties: isCloudManaged: type: boolean additionalProperties: type: object microsoft.graph.plannerGroup: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: plannerGroup type: object properties: plans: type: array items: $ref: '#/components/schemas/microsoft.graph.plannerPlan' description: Read-only. Nullable. Returns the plannerPlans owned by the group. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.groupSetting: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: groupSetting type: object properties: displayName: type: string description: 'Display name of this group of settings, which comes from the associated template.' nullable: true templateId: type: string description: Unique identifier for the tenant-level groupSettingTemplates object that's been customized for this group-level settings object. Read-only. nullable: true values: type: array items: $ref: '#/components/schemas/microsoft.graph.settingValue' description: Collection of name-value pairs corresponding to the name and defaultValue properties in the referenced groupSettingTemplates object. additionalProperties: type: object microsoft.graph.site: allOf: - $ref: '#/components/schemas/microsoft.graph.baseItem' - title: site type: object properties: displayName: type: string description: The full title for the site. Read-only. nullable: true error: $ref: '#/components/schemas/microsoft.graph.publicError' isPersonalSite: type: boolean description: Identifies whether the site is personal or not. Read-only. nullable: true root: $ref: '#/components/schemas/microsoft.graph.root' sharepointIds: $ref: '#/components/schemas/microsoft.graph.sharepointIds' siteCollection: $ref: '#/components/schemas/microsoft.graph.siteCollection' analytics: $ref: '#/components/schemas/microsoft.graph.itemAnalytics' columns: type: array items: $ref: '#/components/schemas/microsoft.graph.columnDefinition' description: The collection of column definitions reusable across lists under this site. x-ms-navigationProperty: true contentTypes: type: array items: $ref: '#/components/schemas/microsoft.graph.contentType' description: The collection of content types defined for this site. x-ms-navigationProperty: true drive: $ref: '#/components/schemas/microsoft.graph.drive' drives: type: array items: $ref: '#/components/schemas/microsoft.graph.drive' description: The collection of drives (document libraries) under this site. x-ms-navigationProperty: true externalColumns: type: array items: $ref: '#/components/schemas/microsoft.graph.columnDefinition' x-ms-navigationProperty: true items: type: array items: $ref: '#/components/schemas/microsoft.graph.baseItem' description: Used to address any item contained in this site. This collection can't be enumerated. x-ms-navigationProperty: true lists: type: array items: $ref: '#/components/schemas/microsoft.graph.list' description: The collection of lists under this site. x-ms-navigationProperty: true onenote: $ref: '#/components/schemas/microsoft.graph.onenote' operations: type: array items: $ref: '#/components/schemas/microsoft.graph.richLongRunningOperation' description: The collection of long-running operations on the site. x-ms-navigationProperty: true pages: type: array items: $ref: '#/components/schemas/microsoft.graph.baseSitePage' description: The collection of pages in the baseSitePages list in this site. x-ms-navigationProperty: true permissions: type: array items: $ref: '#/components/schemas/microsoft.graph.permission' description: The permissions associated with the site. Nullable. x-ms-navigationProperty: true sites: type: array items: $ref: '#/components/schemas/microsoft.graph.site' description: The collection of the sub-sites under this site. x-ms-navigationProperty: true termStore: $ref: '#/components/schemas/microsoft.graph.termStore.store' termStores: type: array items: $ref: '#/components/schemas/microsoft.graph.termStore.store' description: The collection of termStores under this site. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.conversationThread: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: conversationThread type: object properties: ccRecipients: type: array items: $ref: '#/components/schemas/microsoft.graph.recipient' description: 'The Cc: recipients for the thread. Requires $select to retrieve.' hasAttachments: type: boolean description: Indicates whether any of the posts within this thread has at least one attachment. Returned by default. isLocked: type: boolean description: Indicates if the thread is locked. Returned by default. lastDeliveredDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.Returned by default.' format: date-time preview: type: string description: A short summary from the body of the latest post in this conversation. Returned by default. topic: type: string description: 'The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. Returned by default.' toRecipients: type: array items: $ref: '#/components/schemas/microsoft.graph.recipient' description: 'The To: recipients for the thread. Requires $select to retrieve.' uniqueSenders: type: array items: type: string description: All the users that sent a message to this thread. Returned by default. posts: type: array items: $ref: '#/components/schemas/microsoft.graph.post' x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.operationError: title: operationError type: object properties: code: type: string description: Operation error code. nullable: true message: type: string description: Operation error message. nullable: true additionalProperties: type: object microsoft.graph.teamsAsyncOperationType: title: teamsAsyncOperationType enum: - invalid - cloneTeam - archiveTeam - unarchiveTeam - createTeam - unknownFutureValue - teamifyGroup - createChannel - archiveChannel - unarchiveChannel type: string microsoft.graph.teamsAsyncOperationStatus: title: teamsAsyncOperationStatus enum: - invalid - notStarted - inProgress - succeeded - failed - unknownFutureValue type: string microsoft.graph.operationStatus: title: operationStatus enum: - NotStarted - Running - Completed - Failed type: string microsoft.graph.dayOfWeek: title: dayOfWeek enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday type: string microsoft.graph.timeClockSettings: title: timeClockSettings type: object properties: approvedLocation: $ref: '#/components/schemas/microsoft.graph.geoCoordinates' additionalProperties: type: object microsoft.graph.changeTrackedEntity: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: changeTrackedEntity type: object properties: createdBy: $ref: '#/components/schemas/microsoft.graph.identitySet' createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z' format: date-time nullable: true readOnly: true lastModifiedBy: $ref: '#/components/schemas/microsoft.graph.identitySet' lastModifiedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z' format: date-time nullable: true readOnly: true additionalProperties: type: object microsoft.graph.scheduleChangeRequest: allOf: - $ref: '#/components/schemas/microsoft.graph.changeTrackedEntity' - title: scheduleChangeRequest type: object properties: assignedTo: $ref: '#/components/schemas/microsoft.graph.scheduleChangeRequestActor' managerActionDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'The date and time when the manager approved or declined the scheduleChangeRequest. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.' format: date-time nullable: true readOnly: true managerActionMessage: type: string description: The message sent by the manager regarding the scheduleChangeRequest. Optional. nullable: true managerUserId: type: string description: The user ID of the manager who approved or declined the scheduleChangeRequest. nullable: true readOnly: true senderDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'The date and time when the sender sent the scheduleChangeRequest. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.' format: date-time nullable: true readOnly: true senderMessage: type: string description: The message sent by the sender of the scheduleChangeRequest. Optional. nullable: true senderUserId: type: string description: The user ID of the sender of the scheduleChangeRequest. nullable: true readOnly: true state: $ref: '#/components/schemas/microsoft.graph.scheduleChangeState' additionalProperties: type: object microsoft.graph.openShiftItem: allOf: - $ref: '#/components/schemas/microsoft.graph.shiftItem' - title: openShiftItem type: object properties: openSlotCount: maximum: 2147483647 minimum: -2147483648 type: number description: Count of the number of slots for the given open shift. format: int32 additionalProperties: type: object microsoft.graph.shiftItem: allOf: - $ref: '#/components/schemas/microsoft.graph.scheduleEntity' - title: shiftItem type: object properties: activities: type: array items: $ref: '#/components/schemas/microsoft.graph.shiftActivity' description: 'An incremental part of a shift which can cover details of when and where an employee is during their shift. For example, an assignment or a scheduled break or lunch. Required.' displayName: type: string description: The shift label of the shiftItem. nullable: true notes: type: string description: The shift notes for the shiftItem. nullable: true additionalProperties: type: object microsoft.graph.timeCardBreak: title: timeCardBreak type: object properties: breakId: type: string description: ID of the timeCardBreak. nullable: true end: $ref: '#/components/schemas/microsoft.graph.timeCardEvent' notes: $ref: '#/components/schemas/microsoft.graph.itemBody' start: $ref: '#/components/schemas/microsoft.graph.timeCardEvent' additionalProperties: type: object microsoft.graph.timeCardEvent: title: timeCardEvent type: object properties: dateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: The time the entry is recorded. format: date-time isAtApprovedLocation: type: boolean description: Indicates whether this action happens at an approved location. nullable: true notes: $ref: '#/components/schemas/microsoft.graph.itemBody' additionalProperties: type: object microsoft.graph.confirmedBy: title: confirmedBy enum: - none - user - manager - unknownFutureValue type: string x-ms-enum-flags: isFlags: true microsoft.graph.timeCardEntry: title: timeCardEntry type: object properties: breaks: type: array items: $ref: '#/components/schemas/microsoft.graph.timeCardBreak' description: The clock-in event of the timeCard. clockInEvent: $ref: '#/components/schemas/microsoft.graph.timeCardEvent' clockOutEvent: $ref: '#/components/schemas/microsoft.graph.timeCardEvent' additionalProperties: type: object microsoft.graph.timeCardState: title: timeCardState enum: - clockedIn - onBreak - clockedOut - unknownFutureValue type: string microsoft.graph.timeOffReasonIconType: title: timeOffReasonIconType enum: - none - car - calendar - running - plane - firstAid - doctor - notWorking - clock - juryDuty - globe - cup - phone - weather - umbrella - piggyBank - dog - cake - trafficCone - pin - sunny - unknownFutureValue type: string microsoft.graph.timeOffItem: allOf: - $ref: '#/components/schemas/microsoft.graph.scheduleEntity' - title: timeOffItem type: object properties: timeOffReasonId: type: string description: ID of the timeOffReason for this timeOffItem. Required. nullable: true additionalProperties: type: object microsoft.graph.teamworkTagType: title: teamworkTagType enum: - standard - unknownFutureValue type: string microsoft.graph.eligibilityFilteringEnabledEntities: title: eligibilityFilteringEnabledEntities enum: - none - swapRequest - offerShiftRequest - unknownFutureValue - timeOffReason type: string x-ms-enum-flags: isFlags: true microsoft.graph.workforceIntegrationEncryption: title: workforceIntegrationEncryption type: object properties: protocol: $ref: '#/components/schemas/microsoft.graph.workforceIntegrationEncryptionProtocol' secret: type: string description: Encryption shared secret. nullable: true additionalProperties: type: object microsoft.graph.workforceIntegrationSupportedEntities: title: workforceIntegrationSupportedEntities enum: - none - shift - swapRequest - userShiftPreferences - openShift - openShiftRequest - offerShiftRequest - unknownFutureValue - timeCard - timeOffReason - timeOff - timeOffRequest type: string x-ms-enum-flags: isFlags: true microsoft.graph.teamsAppCollectionResponse: title: Collection of teamsApp type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.teamsApp' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.ODataErrors.ODataError: required: - error type: object properties: error: $ref: '#/components/schemas/microsoft.graph.ODataErrors.MainError' additionalProperties: type: object microsoft.graph.teamsAppDefinitionCollectionResponse: title: Collection of teamsAppDefinition type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.teamsAppDefinition' '@odata.nextLink': type: string nullable: true additionalProperties: type: object ODataCountResponse: type: integer format: int32 microsoft.graph.chatCollectionResponse: title: Collection of chat type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chat' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.teamsAppInstallationCollectionResponse: title: Collection of teamsAppInstallation type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.conversationMemberCollectionResponse: title: Collection of conversationMember type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.chatMessageCollectionResponse: title: Collection of chatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.chatMessageHostedContentCollectionResponse: title: Collection of chatMessageHostedContent type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.resourceSpecificPermissionGrantCollectionResponse: title: Collection of resourceSpecificPermissionGrant type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.pinnedChatMessageInfoCollectionResponse: title: Collection of pinnedChatMessageInfo type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.teamsTabCollectionResponse: title: Collection of teamsTab type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.teamsTab' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.targetedChatMessageCollectionResponse: title: Collection of targetedChatMessage type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.targetedChatMessage' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.channelCollectionResponse: title: Collection of channel type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.channel' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.sharedWithChannelTeamInfoCollectionResponse: title: Collection of sharedWithChannelTeamInfo type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.sharedWithChannelTeamInfo' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.serviceProvisioningErrorCollectionResponse: title: Collection of microsoft.graph.serviceProvisioningError type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.serviceProvisioningError' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.teamsAsyncOperationCollectionResponse: title: Collection of teamsAsyncOperation type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.teamsAsyncOperation' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.dayNoteCollectionResponse: title: Collection of dayNote type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.dayNote' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.offerShiftRequestCollectionResponse: title: Collection of offerShiftRequest type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.offerShiftRequest' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.openShiftChangeRequestCollectionResponse: title: Collection of openShiftChangeRequest type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.openShiftChangeRequest' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.openShiftCollectionResponse: title: Collection of openShift type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.openShift' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.schedulingGroupCollectionResponse: title: Collection of schedulingGroup type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.schedulingGroup' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.shiftCollectionResponse: title: Collection of shift type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.shift' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.swapShiftsChangeRequestCollectionResponse: title: Collection of swapShiftsChangeRequest type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.swapShiftsChangeRequest' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.timeCardCollectionResponse: title: Collection of timeCard type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.timeCard' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.timeOffReasonCollectionResponse: title: Collection of timeOffReason type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.timeOffReason' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.timeOffRequestCollectionResponse: title: Collection of timeOffRequest type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.timeOffRequest' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.timeOffCollectionResponse: title: Collection of timeOff type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.timeOff' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.teamworkTagCollectionResponse: title: Collection of teamworkTag type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.teamworkTag' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.teamworkTagMemberCollectionResponse: title: Collection of teamworkTagMember type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.teamworkTagMember' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.teamCollectionResponse: title: Collection of team type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.team' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.deletedChatCollectionResponse: title: Collection of deletedChat type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.deletedChat' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.deletedTeamCollectionResponse: title: Collection of deletedTeam type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.deletedTeam' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.workforceIntegrationCollectionResponse: title: Collection of workforceIntegration type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.workforceIntegration' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.associatedTeamInfoCollectionResponse: title: Collection of associatedTeamInfo type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.associatedTeamInfo' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.userScopeTeamsAppInstallationCollectionResponse: title: Collection of userScopeTeamsAppInstallation type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.userScopeTeamsAppInstallation' '@odata.nextLink': type: string nullable: true additionalProperties: type: object microsoft.graph.teamsAppResourceSpecificPermissionType: title: teamsAppResourceSpecificPermissionType enum: - delegated - application - unknownFutureValue type: string microsoft.graph.publicErrorDetail: title: publicErrorDetail type: object properties: code: type: string description: The error code. nullable: true message: type: string description: The error message. nullable: true target: type: string description: The target of the error. nullable: true additionalProperties: type: object microsoft.graph.publicInnerError: title: publicInnerError type: object properties: code: type: string description: The error code. nullable: true details: type: array items: $ref: '#/components/schemas/microsoft.graph.publicErrorDetail' description: A collection of error details. message: type: string description: The error message. nullable: true target: type: string description: The target of the error. nullable: true additionalProperties: type: object microsoft.graph.chatMessageMentionedIdentitySet: allOf: - $ref: '#/components/schemas/microsoft.graph.identitySet' - title: chatMessageMentionedIdentitySet type: object properties: conversation: $ref: '#/components/schemas/microsoft.graph.teamworkConversationIdentity' additionalProperties: type: object microsoft.graph.chatMessageActions: title: chatMessageActions enum: - reactionAdded - reactionRemoved - actionUndefined - unknownFutureValue type: string x-ms-enum-flags: isFlags: true microsoft.graph.chatMessagePolicyViolationDlpActionTypes: title: chatMessagePolicyViolationDlpActionTypes enum: - none - notifySender - blockAccess - blockAccessExternal type: string x-ms-enum-flags: isFlags: true microsoft.graph.chatMessagePolicyViolationPolicyTip: title: chatMessagePolicyViolationPolicyTip type: object properties: complianceUrl: type: string description: 'The URL a user can visit to read about the data loss prevention policies for the organization. (ie, policies about what users shouldn''t say in chats)' nullable: true generalText: type: string description: Explanatory text shown to the sender of the message. nullable: true matchedConditionDescriptions: type: array items: type: string nullable: true description: 'The list of improper data in the message that was detected by the data loss prevention app. Each DLP app defines its own conditions, examples include ''Credit Card Number'' and ''Social Security Number''.' additionalProperties: type: object microsoft.graph.chatMessagePolicyViolationUserActionTypes: title: chatMessagePolicyViolationUserActionTypes enum: - none - override - reportFalsePositive type: string x-ms-enum-flags: isFlags: true microsoft.graph.chatMessagePolicyViolationVerdictDetailsTypes: title: chatMessagePolicyViolationVerdictDetailsTypes enum: - none - allowFalsePositiveOverride - allowOverrideWithoutJustification - allowOverrideWithJustification type: string x-ms-enum-flags: isFlags: true microsoft.graph.chatMessageReactionIdentitySet: allOf: - $ref: '#/components/schemas/microsoft.graph.identitySet' - title: chatMessageReactionIdentitySet type: object additionalProperties: type: object microsoft.graph.giphyRatingType: title: giphyRatingType enum: - strict - moderate - unknownFutureValue type: string microsoft.graph.itemReference: title: itemReference type: object properties: driveId: type: string description: Unique identifier of the drive instance that contains the driveItem. Only returned if the item is located in a drive. Read-only. nullable: true driveType: type: string description: Identifies the type of drive. Only returned if the item is located in a drive. See drive resource for values. nullable: true id: type: string description: Unique identifier of the driveItem in the drive or a listItem in a list. Read-only. nullable: true name: type: string description: The name of the item being referenced. Read-only. nullable: true path: type: string description: Percent-encoded path that can be used to navigate to the item. Read-only. nullable: true shareId: type: string description: A unique identifier for a shared resource that can be accessed via the Shares API. nullable: true sharepointIds: $ref: '#/components/schemas/microsoft.graph.sharepointIds' siteId: type: string description: 'For OneDrive for Business and SharePoint, this property represents the ID of the site that contains the parent document library of the driveItem resource or the parent list of the listItem resource. The value is the same as the id property of that site resource. It is an opaque string that consists of three identifiers of the site. For OneDrive, this property is not populated.' nullable: true additionalProperties: type: object microsoft.graph.user: allOf: - $ref: '#/components/schemas/microsoft.graph.directoryObject' - title: user type: object properties: aboutMe: type: string description: A freeform text entry field for the user to describe themselves. Requires $select to retrieve. nullable: true accountEnabled: type: boolean description: 'true if the account is enabled; otherwise, false. This property is required when a user is created. Requires $select to retrieve. Supports $filter (eq, ne, not, and in). This property is subject to sensitive action restrictions; only specific privileged administrator roles can update it.' nullable: true ageGroup: type: string description: 'Sets the age group of the user. Allowed values: null, Minor, NotAdult, and Adult. For more information, see legal age group property definitions. Requires $select to retrieve. Supports $filter (eq, ne, not, and in).' nullable: true assignedLicenses: type: array items: $ref: '#/components/schemas/microsoft.graph.assignedLicense' description: 'The licenses that are assigned to the user, including inherited (group-based) licenses. This property doesn''t differentiate between directly assigned and inherited licenses. Use the licenseAssignmentStates property to identify the directly assigned and inherited licenses. Not nullable. Requires $select to retrieve. Supports $filter (eq, not, /$count eq 0, /$count ne 0).' assignedPlans: type: array items: $ref: '#/components/schemas/microsoft.graph.assignedPlan' description: The plans that are assigned to the user. Read-only. Not nullable. Requires $select to retrieve. Supports $filter (eq and not). authorizationInfo: $ref: '#/components/schemas/microsoft.graph.authorizationInfo' birthday: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'The birthday of the user. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. Requires $select to retrieve.' format: date-time businessPhones: type: array items: type: string description: 'The telephone numbers for the user. NOTE: Although it''s a string collection, only one number can be set for this property. Read-only for users synced from the on-premises directory. Returned by default. Supports $filter (eq, not, ge, le, startsWith). This property is subject to sensitive action restrictions; only specific privileged administrator roles can update it.' city: type: string description: 'The city where the user is located. Maximum length is 128 characters. Requires $select to retrieve. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).' nullable: true companyName: type: string description: 'The name of the company that the user is associated with. This property can be useful for describing the company that a guest comes from. The maximum length is 64 characters.Requires $select to retrieve. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).' nullable: true consentProvidedForMinor: type: string description: 'Sets whether consent was obtained for minors. Allowed values: null, Granted, Denied, and NotRequired. For more information, see legal age group property definitions. Requires $select to retrieve. Supports $filter (eq, ne, not, and in).' nullable: true country: type: string description: 'The country or region where the user is located; for example, US or UK. Maximum length is 128 characters. Requires $select to retrieve. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).' nullable: true createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'The date and time the user was created, in ISO 8601 format and UTC. The value can''t be modified and is automatically populated when the entity is created. Nullable. For on-premises users, the value represents when they were first created in Microsoft Entra ID. Property is null for some users created before June 2018 and on-premises users that were synced to Microsoft Entra ID before June 2018. Read-only. Requires $select to retrieve. Supports $filter (eq, ne, not , ge, le, in).' format: date-time nullable: true creationType: type: string description: 'Indicates whether the user account was created through one of the following methods: As a regular school or work account (null). As an external account (Invitation). As a local account for an Azure Active Directory B2C tenant (LocalAccount). Through self-service sign-up by an internal user using email verification (EmailVerified). Through self-service sign-up by a guest signing up through a link that is part of a user flow (SelfServiceSignUp). Read-only.Requires $select to retrieve. Supports $filter (eq, ne, not, in).' nullable: true customSecurityAttributes: $ref: '#/components/schemas/microsoft.graph.customSecurityAttributeValue' department: type: string description: 'The name of the department in which the user works. Maximum length is 64 characters. Requires $select to retrieve. Supports $filter (eq, ne, not , ge, le, in, and eq on null values).' nullable: true deviceEnrollmentLimit: maximum: 2147483647 minimum: -2147483648 type: number description: The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. format: int32 displayName: type: string description: 'The name displayed in the address book for the user. This value is usually the combination of the user''s first name, middle initial, and family name. This property is required when a user is created and it can''t be cleared during updates. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values), $orderby, and $search.' nullable: true employeeHireDate: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'The date and time when the user was hired or will start work in a future hire. Requires $select to retrieve. Supports $filter (eq, ne, not , ge, le, in).' format: date-time nullable: true employeeId: type: string description: 'The employee identifier assigned to the user by the organization. The maximum length is 16 characters. Requires $select to retrieve. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values).' nullable: true employeeLeaveDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'The date and time when the user left or will leave the organization. To read this property, the calling app must be assigned the User-LifeCycleInfo.Read.All permission. To write this property, the calling app must be assigned the User.Read.All and User-LifeCycleInfo.ReadWrite.All permissions. To read this property in delegated scenarios, the admin needs at least one of the following Microsoft Entra roles: Lifecycle Workflows Administrator (least privilege), Global Reader. To write this property in delegated scenarios, the admin needs the Global Administrator role. Supports $filter (eq, ne, not , ge, le, in). For more information, see Configure the employeeLeaveDateTime property for a user.' format: date-time nullable: true employeeOrgData: $ref: '#/components/schemas/microsoft.graph.employeeOrgData' employeeType: type: string description: 'Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor. Requires $select to retrieve. Supports $filter (eq, ne, not , ge, le, in, startsWith).' nullable: true externalUserState: type: string description: 'For a guest invited to the tenant using the invitation API, this property represents the invited user''s invitation status. For invited users, the state can be PendingAcceptance or Accepted, or null for all other users. Requires $select to retrieve. Supports $filter (eq, ne, not , in).' nullable: true externalUserStateChangeDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'Shows the timestamp for the latest change to the externalUserState property. Requires $select to retrieve. Supports $filter (eq, ne, not , in).' format: date-time nullable: true faxNumber: type: string description: 'The fax number of the user. Requires $select to retrieve. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values).' nullable: true givenName: type: string description: 'The given name (first name) of the user. Maximum length is 64 characters. Returned by default. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values).' nullable: true hireDate: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'The hire date of the user. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. Requires $select to retrieve. Note: This property is specific to SharePoint in Microsoft 365. We recommend using the native employeeHireDate property to set and update hire date values using Microsoft Graph APIs.' format: date-time identities: type: array items: $ref: '#/components/schemas/microsoft.graph.objectIdentity' description: 'Represents the identities that can be used to sign in to this user account. Microsoft (also known as a local account), organizations, or social identity providers such as Facebook, Google, and Microsoft can provide identity and tie it to a user account. It might contain multiple items with the same signInType value. Requires $select to retrieve. Supports $filter (eq) with limitations.' identityParentId: type: string nullable: true imAddresses: type: array items: type: string nullable: true description: 'The instant message voice-over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only. Requires $select to retrieve. Supports $filter (eq, not, ge, le, startsWith).' interests: type: array items: type: string nullable: true description: A list for the user to describe their interests. Requires $select to retrieve. isManagementRestricted: type: boolean description: 'true if the user is a member of a restricted management administrative unit. If not set, the default value is null and the default behavior is false. Read-only. To manage a user who is a member of a restricted management administrative unit, the administrator or calling app must be assigned a Microsoft Entra role at the scope of the restricted management administrative unit. Requires $select to retrieve.' nullable: true isResourceAccount: type: boolean description: Don't use – reserved for future use. nullable: true jobTitle: type: string description: 'The user''s job title. Maximum length is 128 characters. Returned by default. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values).' nullable: true lastPasswordChangeDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'The time when this Microsoft Entra user last changed their password or when their password was created, whichever date the latest action was performed. The date and time information uses ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Requires $select to retrieve.' format: date-time nullable: true legalAgeGroupClassification: type: string description: 'Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, Undefined, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult, and Adult. For more information, see legal age group property definitions. Requires $select to retrieve.' nullable: true licenseAssignmentStates: type: array items: $ref: '#/components/schemas/microsoft.graph.licenseAssignmentState' description: State of license assignments for this user. Also indicates licenses that are directly assigned or the user inherited through group memberships. Read-only. Requires $select to retrieve. mail: type: string description: 'The SMTP address for the user, for example, jeff@contoso.com. Changes to this property update the user''s proxyAddresses collection to include the value as an SMTP address. This property can''t contain accent characters. NOTE: We don''t recommend updating this property for Azure AD B2C user profiles. Use the otherMails property instead. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values).' nullable: true mailboxSettings: $ref: '#/components/schemas/microsoft.graph.mailboxSettings' mailNickname: type: string description: 'The mail alias for the user. This property must be specified when a user is created. Maximum length is 64 characters. Requires $select to retrieve. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).' nullable: true mobilePhone: type: string description: 'The primary cellular telephone number for the user. Read-only for users synced from the on-premises directory. Maximum length is 64 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) and $search. This property is subject to sensitive action restrictions; only specific privileged administrator roles can update it.' nullable: true mySite: type: string description: The URL for the user's site. Requires $select to retrieve. nullable: true officeLocation: type: string description: 'The office location in the user''s place of business. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).' nullable: true onPremisesDistinguishedName: type: string description: Contains the on-premises Active Directory distinguished name or DN. The property is only populated for customers who are synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect. Read-only. Requires $select to retrieve. nullable: true onPremisesDomainName: type: string description: 'Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect. Read-only. Requires $select to retrieve.' nullable: true onPremisesExtensionAttributes: $ref: '#/components/schemas/microsoft.graph.onPremisesExtensionAttributes' onPremisesImmutableId: type: string description: 'This property is used to associate an on-premises Active Directory user account to their Microsoft Entra user object. This property must be specified when creating a new user account in the Graph if you''re using a federated domain for the user''s userPrincipalName (UPN) property. NOTE: The $ and _ characters can''t be used when specifying this property. Requires $select to retrieve. Supports $filter (eq, ne, not, ge, le, in). This property is subject to sensitive action restrictions; only specific privileged administrator roles can update it.' nullable: true onPremisesLastSyncDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'Indicates the last time at which the object was synced with the on-premises directory; for example: 2013-02-16T03:04:54Z. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Requires $select to retrieve. Supports $filter (eq, ne, not, ge, le, in).' format: date-time nullable: true onPremisesProvisioningErrors: type: array items: $ref: '#/components/schemas/microsoft.graph.onPremisesProvisioningError' description: 'Errors when using Microsoft synchronization product during provisioning. Requires $select to retrieve. Supports $filter (eq, not, ge, le).' onPremisesSamAccountName: type: string description: 'Contains the on-premises samAccountName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect. Read-only. Requires $select to retrieve. Supports $filter (eq, ne, not, ge, le, in, startsWith).' nullable: true onPremisesSecurityIdentifier: type: string description: Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud. Read-only. Requires $select to retrieve. Supports $filter (eq including on null values). nullable: true onPremisesSyncEnabled: type: boolean description: 'true if this user object is currently being synced from an on-premises Active Directory (AD); otherwise the user isn''t being synced and can be managed in Microsoft Entra ID. Read-only. Requires $select to retrieve. Supports $filter (eq, ne, not, in, and eq on null values).' nullable: true onPremisesUserPrincipalName: type: string description: 'Contains the on-premises userPrincipalName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect. Read-only. Requires $select to retrieve. Supports $filter (eq, ne, not, ge, le, in, startsWith).' nullable: true otherMails: type: array items: type: string description: 'A list of other email addresses for the user; for example: [''bob@contoso.com'', ''Robert@fabrikam.com'']. Can store up to 250 values, each with a limit of 250 characters. NOTE: This property can''t contain accent characters. Requires $select to retrieve. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). This property is subject to sensitive action restrictions; only specific privileged administrator roles can update it.' passwordPolicies: type: string description: 'Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two might be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. Requires $select to retrieve. For more information on the default password policies, see Microsoft Entra password policies. Supports $filter (ne, not, and eq on null values).' nullable: true passwordProfile: $ref: '#/components/schemas/microsoft.graph.passwordProfile' pastProjects: type: array items: type: string nullable: true description: A list for the user to enumerate their past projects. Requires $select to retrieve. postalCode: type: string description: 'The postal code for the user''s postal address. The postal code is specific to the user''s country or region. In the United States of America, this attribute contains the ZIP code. Maximum length is 40 characters. Requires $select to retrieve. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).' nullable: true preferredDataLocation: type: string description: 'The preferred data location for the user. For more information, see OneDrive Online Multi-Geo.' nullable: true preferredLanguage: type: string description: 'The preferred language for the user. The preferred language format is based on RFC 4646. The name is a combination of an ISO 639 two-letter lowercase culture code associated with the language, and an ISO 3166 two-letter uppercase subculture code associated with the country or region. Example: ''en-US'', or ''es-ES''. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values)' nullable: true preferredName: type: string description: The preferred name for the user. Not Supported. This attribute returns an empty string.Requires $select to retrieve. nullable: true print: $ref: '#/components/schemas/microsoft.graph.userPrint' provisionedPlans: type: array items: $ref: '#/components/schemas/microsoft.graph.provisionedPlan' description: 'The plans that are provisioned for the user. Read-only. Not nullable. Requires $select to retrieve. Supports $filter (eq, not, ge, le).' proxyAddresses: type: array items: type: string description: 'For example: [''SMTP: bob@contoso.com'', ''smtp: bob@sales.contoso.com'']. Changes to the mail property update this collection to include the value as an SMTP address. For more information, see mail and proxyAddresses properties. The proxy address prefixed with SMTP (capitalized) is the primary proxy address, while those addresses prefixed with smtp are the secondary proxy addresses. For Azure AD B2C accounts, this property has a limit of 10 unique addresses. Read-only in Microsoft Graph; you can update this property only through the Microsoft 365 admin center. Not nullable. Requires $select to retrieve. Supports $filter (eq, not, ge, le, startsWith, endsWith, /$count eq 0, /$count ne 0).' responsibilities: type: array items: type: string nullable: true description: A list for the user to enumerate their responsibilities. Requires $select to retrieve. schools: type: array items: type: string nullable: true description: A list for the user to enumerate the schools they attended. Requires $select to retrieve. securityIdentifier: type: string description: 'Security identifier (SID) of the user, used in Windows scenarios. Read-only. Returned by default. Supports $select and $filter (eq, not, ge, le, startsWith).' nullable: true serviceProvisioningErrors: type: array items: $ref: '#/components/schemas/microsoft.graph.serviceProvisioningError' description: 'Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance).' showInAddressList: type: boolean description: Do not use in Microsoft Graph. Manage this property through the Microsoft 365 admin center instead. Represents whether the user should be included in the Outlook global address list. See Known issue. nullable: true signInActivity: $ref: '#/components/schemas/microsoft.graph.signInActivity' signInSessionsValidFromDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: 'Any refresh tokens or session tokens (session cookies) issued before this time are invalid. Applications get an error when using an invalid refresh or session token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application needs to acquire a new refresh token by requesting the authorized endpoint. Read-only. Use revokeSignInSessions to reset. Requires $select to retrieve.' format: date-time nullable: true skills: type: array items: type: string nullable: true description: A list for the user to enumerate their skills. Requires $select to retrieve. state: type: string description: 'The state or province in the user''s address. Maximum length is 128 characters. Requires $select to retrieve. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).' nullable: true streetAddress: type: string description: 'The street address of the user''s place of business. Maximum length is 1,024 characters. Requires $select to retrieve. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).' nullable: true surname: type: string description: 'The user''s surname (family name or last name). Maximum length is 64 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).' nullable: true usageLocation: type: string description: 'A two-letter country code (ISO standard 3166). Required for users that are assigned licenses due to legal requirements to check for availability of services in countries/regions. Examples include: US, JP, and GB. Not nullable. Requires $select to retrieve. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).' nullable: true userPrincipalName: type: string description: 'The user principal name (UPN) of the user. The UPN is an Internet-style sign-in name for the user based on the Internet standard RFC 822. By convention, this value should map to the user''s email name. The general format is alias@domain, where the domain must be present in the tenant''s collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property can''t contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, '' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderby. This property is subject to sensitive action restrictions; only specific privileged administrator roles can update it.' nullable: true userType: type: string description: 'A string value that can be used to classify user types in your directory. The possible values are Member and Guest. Requires $select to retrieve. Supports $filter (eq, ne, not, in, and eq on null values). NOTE: For more information about the permissions for members and guests, see What are the default user permissions in Microsoft Entra ID?' nullable: true activities: type: array items: $ref: '#/components/schemas/microsoft.graph.userActivity' description: The user's activities across devices. Read-only. Nullable. x-ms-navigationProperty: true adhocCalls: type: array items: $ref: '#/components/schemas/microsoft.graph.adhocCall' description: Ad hoc calls associated with the user. Read-only. Nullable. x-ms-navigationProperty: true agreementAcceptances: type: array items: $ref: '#/components/schemas/microsoft.graph.agreementAcceptance' description: The user's terms of use acceptance statuses. Read-only. Nullable. x-ms-navigationProperty: true appRoleAssignments: type: array items: $ref: '#/components/schemas/microsoft.graph.appRoleAssignment' description: Represents the app roles a user is granted for an application. Supports $expand. x-ms-navigationProperty: true authentication: $ref: '#/components/schemas/microsoft.graph.authentication' calendar: $ref: '#/components/schemas/microsoft.graph.calendar' calendarGroups: type: array items: $ref: '#/components/schemas/microsoft.graph.calendarGroup' description: The user's calendar groups. Read-only. Nullable. x-ms-navigationProperty: true calendars: type: array items: $ref: '#/components/schemas/microsoft.graph.calendar' description: The user's calendars. Read-only. Nullable. x-ms-navigationProperty: true calendarView: type: array items: $ref: '#/components/schemas/microsoft.graph.event' description: The calendar view for the calendar. Read-only. Nullable. x-ms-navigationProperty: true chats: type: array items: $ref: '#/components/schemas/microsoft.graph.chat' x-ms-navigationProperty: true cloudClipboard: $ref: '#/components/schemas/microsoft.graph.cloudClipboardRoot' cloudPCs: type: array items: $ref: '#/components/schemas/microsoft.graph.cloudPC' description: The user's Cloud PCs. Read-only. Nullable. x-ms-navigationProperty: true contactFolders: type: array items: $ref: '#/components/schemas/microsoft.graph.contactFolder' description: The user's contacts folders. Read-only. Nullable. x-ms-navigationProperty: true contacts: type: array items: $ref: '#/components/schemas/microsoft.graph.contact' description: The user's contacts. Read-only. Nullable. x-ms-navigationProperty: true createdObjects: type: array items: $ref: '#/components/schemas/microsoft.graph.directoryObject' description: Directory objects that the user created. Read-only. Nullable. x-ms-navigationProperty: true dataSecurityAndGovernance: $ref: '#/components/schemas/microsoft.graph.userDataSecurityAndGovernance' deviceManagementTroubleshootingEvents: type: array items: $ref: '#/components/schemas/microsoft.graph.deviceManagementTroubleshootingEvent' description: The list of troubleshooting events for this user. x-ms-navigationProperty: true directReports: type: array items: $ref: '#/components/schemas/microsoft.graph.directoryObject' description: The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. x-ms-navigationProperty: true drive: $ref: '#/components/schemas/microsoft.graph.drive' drives: type: array items: $ref: '#/components/schemas/microsoft.graph.drive' description: A collection of drives available for this user. Read-only. x-ms-navigationProperty: true employeeExperience: $ref: '#/components/schemas/microsoft.graph.employeeExperienceUser' events: type: array items: $ref: '#/components/schemas/microsoft.graph.event' description: The user's events. Default is to show Events under the Default Calendar. Read-only. Nullable. x-ms-navigationProperty: true extensions: type: array items: $ref: '#/components/schemas/microsoft.graph.extension' description: The collection of open extensions defined for the user. Read-only. Supports $expand. Nullable. x-ms-navigationProperty: true followedSites: type: array items: $ref: '#/components/schemas/microsoft.graph.site' x-ms-navigationProperty: true inferenceClassification: $ref: '#/components/schemas/microsoft.graph.inferenceClassification' insights: $ref: '#/components/schemas/microsoft.graph.itemInsights' joinedTeams: type: array items: $ref: '#/components/schemas/microsoft.graph.team' x-ms-navigationProperty: true licenseDetails: type: array items: $ref: '#/components/schemas/microsoft.graph.licenseDetails' description: A collection of this user's license details. Read-only. x-ms-navigationProperty: true mailFolders: type: array items: $ref: '#/components/schemas/microsoft.graph.mailFolder' description: The user's mail folders. Read-only. Nullable. x-ms-navigationProperty: true managedAppRegistrations: type: array items: $ref: '#/components/schemas/microsoft.graph.managedAppRegistration' description: Zero or more managed app registrations that belong to the user. x-ms-navigationProperty: true managedDevices: type: array items: $ref: '#/components/schemas/microsoft.graph.managedDevice' description: The managed devices associated with the user. x-ms-navigationProperty: true manager: $ref: '#/components/schemas/microsoft.graph.directoryObject' memberOf: type: array items: $ref: '#/components/schemas/microsoft.graph.directoryObject' description: The groups and directory roles that the user is a member of. Read-only. Nullable. Supports $expand. x-ms-navigationProperty: true messages: type: array items: $ref: '#/components/schemas/microsoft.graph.message' description: The messages in a mailbox or folder. Read-only. Nullable. x-ms-navigationProperty: true notes: type: array items: $ref: '#/components/schemas/microsoft.graph.note' description: The notes in the user's Notes folder. Read-only. Nullable. x-ms-navigationProperty: true oauth2PermissionGrants: type: array items: $ref: '#/components/schemas/microsoft.graph.oAuth2PermissionGrant' x-ms-navigationProperty: true onenote: $ref: '#/components/schemas/microsoft.graph.onenote' onlineMeetings: type: array items: $ref: '#/components/schemas/microsoft.graph.onlineMeeting' description: 'Information about a meeting, including the URL used to join a meeting, the attendees list, and the description.' x-ms-navigationProperty: true onPremisesSyncBehavior: $ref: '#/components/schemas/microsoft.graph.onPremisesSyncBehavior' outlook: $ref: '#/components/schemas/microsoft.graph.outlookUser' ownedDevices: type: array items: $ref: '#/components/schemas/microsoft.graph.directoryObject' description: 'Devices the user owns. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).' x-ms-navigationProperty: true ownedObjects: type: array items: $ref: '#/components/schemas/microsoft.graph.directoryObject' description: 'Directory objects the user owns. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).' x-ms-navigationProperty: true people: type: array items: $ref: '#/components/schemas/microsoft.graph.person' description: People that are relevant to the user. Read-only. Nullable. x-ms-navigationProperty: true permissionGrants: type: array items: $ref: '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant' description: List all resource-specific permission grants of a user. x-ms-navigationProperty: true photo: $ref: '#/components/schemas/microsoft.graph.profilePhoto' photos: type: array items: $ref: '#/components/schemas/microsoft.graph.profilePhoto' description: The collection of the user's profile photos in different sizes. Read-only. x-ms-navigationProperty: true planner: $ref: '#/components/schemas/microsoft.graph.plannerUser' presence: $ref: '#/components/schemas/microsoft.graph.presence' registeredDevices: type: array items: $ref: '#/components/schemas/microsoft.graph.directoryObject' description: Devices that are registered for the user. Read-only. Nullable. Supports $expand and returns up to 100 objects. x-ms-navigationProperty: true scopedRoleMemberOf: type: array items: $ref: '#/components/schemas/microsoft.graph.scopedRoleMembership' x-ms-navigationProperty: true settings: $ref: '#/components/schemas/microsoft.graph.userSettings' solutions: $ref: '#/components/schemas/microsoft.graph.userSolutionRoot' sponsorOf: type: array items: $ref: '#/components/schemas/microsoft.graph.directoryObject' description: 'Directory objects that this user sponsors, such as guest users, agent users, agent blueprints, agent blueprint principals, and agent identities. If the user is a member of a group that''s a sponsor, the objects sponsored by that group are also included. Read-only. Nullable. Supports $filter, $count, $select, $expand, $top, and $skip.' x-ms-navigationProperty: true sponsors: type: array items: $ref: '#/components/schemas/microsoft.graph.directoryObject' description: 'The users and groups responsible for this guest''s privileges in the tenant and keeping the guest''s information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand.' x-ms-navigationProperty: true teamwork: $ref: '#/components/schemas/microsoft.graph.userTeamwork' todo: $ref: '#/components/schemas/microsoft.graph.todo' transitiveMemberOf: type: array items: $ref: '#/components/schemas/microsoft.graph.directoryObject' description: 'The groups, including nested groups, and directory roles that a user is a member of. Nullable.' x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.album: title: album type: object properties: coverImageItemId: type: string description: Unique identifier of the driveItem that is the cover of the album. nullable: true additionalProperties: type: object microsoft.graph.hashes: title: hashes type: object properties: crc32Hash: type: string description: The CRC32 value of the file (if available). Read-only. nullable: true quickXorHash: type: string description: A proprietary hash of the file that can be used to determine if the contents of the file change (if available). Read-only. nullable: true sha1Hash: type: string description: SHA1 hash for the contents of the file (if available). Read-only. nullable: true sha256Hash: type: string description: This property isn't supported. Don't use. nullable: true additionalProperties: type: object microsoft.graph.folderView: title: folderView type: object properties: sortBy: type: string description: The method by which the folder should be sorted. nullable: true sortOrder: type: string description: 'If true, indicates that items should be sorted in descending order. Otherwise, items should be sorted ascending.' nullable: true viewType: type: string description: The type of view that should be used to represent the folder. nullable: true additionalProperties: type: object ReferenceNumeric: enum: - '-INF' - INF - NaN type: string nullable: true microsoft.graph.pendingContentUpdate: title: pendingContentUpdate type: object properties: queuedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Date and time the pending binary operation was queued in UTC time. Read-only. format: date-time nullable: true additionalProperties: type: object microsoft.graph.itemActivityStat: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: itemActivityStat type: object properties: access: $ref: '#/components/schemas/microsoft.graph.itemActionStat' create: $ref: '#/components/schemas/microsoft.graph.itemActionStat' delete: $ref: '#/components/schemas/microsoft.graph.itemActionStat' edit: $ref: '#/components/schemas/microsoft.graph.itemActionStat' endDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: When the interval ends. Read-only. format: date-time nullable: true incompleteData: $ref: '#/components/schemas/microsoft.graph.incompleteData' isTrending: type: boolean description: Indicates whether the item is 'trending.' Read-only. nullable: true move: $ref: '#/components/schemas/microsoft.graph.itemActionStat' startDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: When the interval starts. Read-only. format: date-time nullable: true activities: type: array items: $ref: '#/components/schemas/microsoft.graph.itemActivity' description: Exposes the itemActivities represented in this itemActivityStat resource. x-ms-navigationProperty: true additionalProperties: type: object microsoft.graph.contentTypeInfo: title: contentTypeInfo type: object properties: id: type: string description: The ID of the content type. nullable: true name: type: string description: The name of the content type. nullable: true additionalProperties: type: object microsoft.graph.documentSetVersion: allOf: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' - title: documentSetVersion type: object properties: comment: type: string description: Comment about the captured version. nullable: true createdBy: $ref: '#/components/schemas/microsoft.graph.identitySet' createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string description: Date and time when this version was created. format: date-time nullable: true items: type: array items: $ref: '#/components/schemas/microsoft.graph.documentSetVersionItem' description: Items within the document set that are captured as part of this version. shouldCaptureMinorVersion: type: boolean description: 'If true, minor versions of items are also captured; otherwise, only major versions are captured. The default value is false.' nullable: true additionalProperties: type: object microsoft.graph.fieldValueSet: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: fieldValueSet type: object additionalProperties: type: object microsoft.graph.listItemVersion: allOf: - $ref: '#/components/schemas/microsoft.graph.baseItemVersion' - title: listItemVersion type: object properties: fields: $ref: '#/components/schemas/microsoft.graph.fieldValueSet' additionalProperties: type: object microsoft.graph.sharePointIdentitySet: allOf: - $ref: '#/components/schemas/microsoft.graph.identitySet' - title: sharePointIdentitySet type: object properties: group: $ref: '#/components/schemas/microsoft.graph.identity' sharePointGroup: $ref: '#/components/schemas/microsoft.graph.sharePointGroupIdentity' siteGroup: $ref: '#/components/schemas/microsoft.graph.sharePointIdentity' siteUser: $ref: '#/components/schemas/microsoft.graph.sharePointIdentity' additionalProperties: type: object microsoft.graph.sharingInvitation: title: sharingInvitation type: object properties: email: type: string description: The email address provided for the recipient of the sharing invitation. Read-only. nullable: true invitedBy: $ref: '#/components/schemas/microsoft.graph.identitySet' redeemedBy: type: string nullable: true signInRequired: type: boolean description: If true the recipient of the invitation needs to sign in in order to access the shared item. Read-only. nullable: true additionalProperties: type: object microsoft.graph.sharingLink: title: sharingLink type: object properties: application: $ref: '#/components/schemas/microsoft.graph.identity' preventsDownload: type: boolean description: 'If true then the user can only use this link to view the item on the web, and cannot use it to download the contents of the item. Only for OneDrive for Business and SharePoint.' nullable: true scope: type: string description: 'The scope of the link represented by this permission. Value anonymous indicates the link is usable by anyone, organization indicates the link is only usable for users signed into the same tenant.' nullable: true type: type: string description: The type of the link created. nullable: true webHtml: type: string description: 'For embed links, this property contains the HTML code for an