Copy notebook (Graph)
documentedCopy a notebook to another location.
POST https://graph.microsoft.com/v1.0/me/onenote/notebooks/{notebook-id}/copyNotebookCopy operationsno implementation yet0 runsNo 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/onenote/notebooks/{{$notebook_id}}/copyNotebook" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"siteCollectionId":"{{$siteCollectionId}}","siteId":"{{$siteId}}","renameAs":"{{$renameAs}}"}'