In the request body, supply only the values for properties 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.
The following table specifies the properties that can be updated.
Property
Type
Description
checkedDateTime
DateTimeOffset
The date and time when the checklistItem was finished.
createdDateTime
DateTimeOffset
The date and time when the checklistItem was created.
displayName
String
Field indicating the title of checklistItem.
isChecked
Boolean
State indicating whether the item is checked off or not.
Response
If successful, this method returns a 200 OK response code and an updated checklistItem object in the response body.
var graphClient = new GraphServiceClient(requestAdapter);
var requestBody = new ChecklistItem
{
DisplayName = "buy cake",
};
var result = await graphClient.Me.Todo.Lists["{todoTaskList-id}"].Tasks["{todoTask-id}"].ChecklistItems["{checklistItem-id}"].PatchAsync(requestBody);
Import-Module Microsoft.Graph.Users
$params = @{
DisplayName = "buy cake"
}
# A UPN can also be used as -UserId.
Update-MgUserTodoListTaskChecklistItem -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -ChecklistItemId $checklistItemId -BodyParameter $params
<?php
// THIS SNIPPET IS A PREVIEW FOR THE KIOTA BASED SDK. NON-PRODUCTION USE ONLY
$graphServiceClient = new GraphServiceClient($requestAdapter);
$requestBody = new ChecklistItem();
$requestBody->setDisplayName('buy cake');
$requestResult = $graphServiceClient->me()->todo()->listsById('todoTaskList-id')->tasksById('todoTask-id')->checklistItemsById('checklistItem-id')->patch($requestBody);