Copy section to section group (Graph)
documentedCopy a section to a destination section group.
POST https://graph.microsoft.com/v1.0/me/onenote/sections/{section-id}/copyToSectionGroupCopy 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/sections/{{$section_id}}/copyToSectionGroup" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"id": "{{$destination_section_group_id}}", "siteCollectionId": "{{$siteCollectionId}}", "siteId": "{{$siteId}}", "groupId": "{{$groupId}}", "renameAs": "{{$renameAs}}"}'