Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
Permission type
Least privileged permissions
Higher privileged permissions
Delegated (work or school account)
Group.ReadWrite.All
Not available.
Delegated (personal Microsoft account)
Not supported.
Not supported.
Application
Group.ReadWrite.All
Not available.
HTTP request
PATCH /groups/{id}/threads/{id}
Request headers
Name
Type
Description
Authorization
string
Bearer {token}. Required.
Request body
In the request body, supply the values for relevant fields that should be updated. Existing properties that are not included in the request body will maintain their previous values or be recalculated based on changes to other property values. For best performance you shouldn't include existing values that haven't changed.
Response
If successful, this method returns a 204 No Content response code.
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Models;
var requestBody = new ConversationThread
{
AdditionalData = new Dictionary<string, object>
{
{
"originalStartTimeZone" , "originalStartTimeZone-value"
},
{
"originalEndTimeZone" , "originalEndTimeZone-value"
},
{
"responseStatus" , new
{
Response = "",
Time = "datetime-value",
}
},
{
"iCalUId" , "iCalUId-value"
},
{
"reminderMinutesBeforeStart" , 99
},
{
"isReminderOn" , true
},
},
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Groups["{group-id}"].Threads["{conversationThread-id}"].PatchAsync(requestBody);