首页 > 解决方案 > 如何使用onenote api重命名onenote中的部分

问题描述

我正在尝试使用 onenote API 重命名部分名称。 https://www.onenote.com/api/v1.0/notebooks/ {我的笔记本 id}/sections

标签: office365onenote

解决方案


https://developer.microsoft.com/en-us/graph/code-samples-and-sdks包含 PHP SDK 和示例代码,例如 https://github.com/microsoftgraph/msgraph-sdk-php/blob/dev /tests/Functional/OnenoteTest.php

使用 Microsoft Graph API,您可以执行 PATCH https://graph.microsoft.com/v1.0/me/onenote/sections/ {id} 并给出 {"displayName":"new SectionName"}


推荐阅读