How set onenote page as read only using onenote AP

2019-08-24 03:53发布

I am using onenote graph API to create and update notebook,sections,pages.

Know i want to make onenote page as read only using Onenote Graph API.

Please suggest PATCH or POST Request url to set onenote page as read only

1条回答
兄弟一词,经得起流年.
2楼-- · 2019-08-24 04:45

I think the only effective way of doing this is by creating a view only link to the Notebook.

The OneNote API only allows this for section groups as described at "Create sharing links on OneNote entities"

POST ../sectiongroups/{id}/GetOrCreateAnonymousSharingLink with {"accessLevel":"View"}

Please see the post "Sharing OneNote Notebook through API" for a different approach (using OneDrive sharing) to try and share either a whole notebook or just notebook section.

查看更多
登录 后发表回答