0
votes

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

1 Answers

1
votes

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.