Sign in

Copy sections to content library (Graph)

documented

Copy sections from a class notebook to the content library.

GET https://graph.microsoft.com/v1.0/me/onenote/notebooks/{notebook-id}/copySectionsToContentLibraryClass 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://graph.microsoft.com/v1.0/me/notes/classNotebooks/{{$notebook_id}}/copySectionsToContentLibrary" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"sectionIds": ["{{$section_id_1}}","{{$section_id_2}}"]}'