Search code examples
microsoft-graph-apionenoteonenote-apimicrosoft-graph-onenote

Update specific task of page in OneNote using API


I am working on OneNote API where I want to update a specific task. But I didn't find any way/API to do that.

Here is what I go to so far using graph API

graph API

I need to update/replace the whole div which isn't the use case. I might have other text there. Any help would be appreciated.


Solution

  • I had position in the patch request payload which should not have.

    enter image description here

    After removing postion it's working for a single task to make it completed or uncompleted and even change the text of the task.