I am trying to rename section name using onenote API. https://www.onenote.com/api/v1.0/notebooks/{my notebook id}/sections
- The notebook has the renamed section. Is this a bug?
I am trying to rename section name using onenote API. https://www.onenote.com/api/v1.0/notebooks/{my notebook id}/sections
https://developer.microsoft.com/en-us/graph/code-samples-and-sdks which has PHP SDK and sample code like https://github.com/microsoftgraph/msgraph-sdk-php/blob/dev/tests/Functional/OnenoteTest.php
Using Microsoft Graph APIs, you can do PATCH https://graph.microsoft.com/v1.0/me/onenote/sections/{id} and give {"displayName":"new SectionName"}
To rename a notebook is similar to rename a section. PATCH https://graph.microsoft.com/v1.0/me/onenote/notebooks/{id} and give {"displayName":"new NotebookName"}
To delete a notebook, use the same url as above with the DELETE action