Microsoft Team is a communication product/service from Microsoft 365. This helps the user to connect and communicate between the users within the organization or external Organization. Connecting with external users are called guest users.
In this blog, I would like to show you how to enable guest users to delete the channel from the Microsoft Team.
PATCH https://graph.microsoft.com/v1.0/teams/<team id>
The below request headers should be sent along with the request to update the settings,
Request Header: Content-Type: application/json
Request Body
{
"guestSettings": {
"allowDeleteChannels": true
}
}
In Microsoft Graph Explorer, click Run Query to send the request and update the settings for the Team.
Now guest user from the specified Team can delete the channels.
Output:
The below response will be returned after submitting the request.
{}