deletedTeam resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents a deleted team in Microsoft Teams.

Every deleted team is associated with a Microsoft 365 group. For more information about working with groups and members in teams, see Use the Microsoft Graph API to work with Microsoft Teams.

Inherits from entity.

Methods

Method Return type Description
getAllMessages chatMessage collection Retrieve all messages across all channels in a deleted team
List deletedTeams deletedTeam collection Get a list of the deletedTeam objects and their properties.

Properties

Property Type Description
id String The ID of a deleted team. Inherited from entity.

Relationships

Relationship Type Description
channels channel collection The channels those are either shared with this deleted team or created in this deleted team.

JSON representation

The following is a JSON representation of the resource.

{
    "@odata.type": "#microsoft.graph.deletedTeam",
    "id": "String (identifier)"
}