Show / Hide Table of Contents

Channel.Delete.All

Delete channels in any team, on behalf of the signed-in user.

Graph Methods

Type: A = Application Permission, D = Delegate Permission

Ver Type Method
V1 A,D DELETE /teams/{team-id}/channels/{channel-id}
Beta A,D DELETE /teams/{team-id}/incomingChannels/{incoming-channel-id}/$ref

Delegate Permission

Id cc83893a-e232-4723-b5af-bd0b01bcfe65
Consent Type Admin
Display String Delete channels
Description Delete channels in any team, on behalf of the signed-in user.

Application Permission

Id 6a118a39-1227-45d4-af0c-ea7b40d210bc
Display String Delete channels
Description Delete channels in any team, without a signed-in user.

Resources

channel

Property Type Description
description String Optional textual description for the channel.
displayName String Channel name as it will appear to the user in Microsoft Teams.
id String The channel's unique identifier. Read-only.
isFavoriteByDefault Boolean Indicates whether the channel should automatically be marked 'favorite' for all members of the team. Can only be set programmatically with Create team. Default: false.
email String The email address for sending messages to the channel. Read-only.
webUrl String 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.
membershipType channelMembershipType The type of the channel. Can be set during creation and can't be changed. Possible values are: standard - Channel inherits the list of members of the parent team; private - Channel can have members that are a subset of all the members on the parent team.
createdDateTime dateTimeOffset Read only. Timestamp at which the channel was created.

team

Property Type Description
displayName string The name of the team.
description string An optional description for the team. Maximum length: 1024 characters.
classification string An optional label. Typically describes the data or business sensitivity of the team. Must match one of a pre-configured set in the tenant's directory.
specialization teamSpecialization Optional. Indicates whether the team is intended for a particular use case. Each team specialization has access to unique behaviors and experiences targeted to its use case.
visibility teamVisibilityType The visibility of the group and team. Defaults to Public.
funSettings teamFunSettings Settings to configure use of Giphy, memes, and stickers in the team.
guestSettings teamGuestSettings Settings to configure whether guests can create, update, or delete channels in the team.
internalId string A unique ID for the team that has been used in a few places such as the audit log/Office 365 Management Activity API.
isArchived Boolean Whether this team is in read-only mode.
memberSettings teamMemberSettings Settings to configure whether members can perform certain actions, for example, create channels and add bots, in the team.
messagingSettings teamMessagingSettings Settings to configure messaging and mentions in the team.
webUrl string (readonly) A hyperlink that will go to the team in the Microsoft Teams client. This is the URL that you get 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.
createdDateTime dateTimeOffset Timestamp at which the team was created.
In This Article
Back to top Created by merill | Submit feedback