Sign in

Update class notebook (Graph)

documented

Update class notebook properties (e.g., hasTeacherOnlySectionGroup).

PATCH https://graph.microsoft.com/v1.0/me/onenote/classNotebooks/{notebook-id}Class Notebooksno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://www.onenote.com/api/v1.0/users/{{$teacher_id}}/notes/classNotebooks/{{$notebook_id}}" \
  -X PATCH \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"hasTeacherOnlySectionGroup": {{$hasTeacherOnlySectionGroup}}}'