I have created another document library in my personal sharepoint site. When I run the
GET /me/drives/
It shows both OneDrive and my created document library. Since I can create OneNote Notebook in the another document library from the UI, I want to achieve the same thing using graph api. However, currently supported graph api to create notebook are
POST /me/onenote/notebooks
POST /users/{id | userPrincipalName}/onenote/notebooks
POST /groups/{id}/onenote/notebooks
POST /sites/{id}/onenote/notebooks
When I execute any one of these api, it always creates Notebook in the OneDrive. Is there any way to create Notebook in the specific document library?
This should work in Onenote-API
or Graph-API