I am using Microsoft Graph API create a Document Library in a SharePoint Online site. I would like to know if there is a way to create at the same time I create the doc library a navigation link.
When working directly on SharePoint online there is a checkbox "Show in navigation link", which will automatically create a navigation link on the left column.
I could not find anything in the documentation, I would like to know if there is a way to do that thanks to the API.
POST https://graph.microsoft.com/v1.0/sites/{site-id}/lists
{
"displayName": "TEST1",
"list": {
"contentTypesEnabled": false,
"hidden": false,
"template": "documentLibrary"
}
}