A Microsoft file hosting and synchronization service.
Per my research, if you use OneDrive for Business, you could try to delete a document library in SharePoint.
As tag "office-onedrive-client-itpro" focuses on general issues about OneDrive client, to better help you, it's suggested to add a tag "office-sharepoint-online".
Thanks for your understanding.
Besides, here are two articles for your reference.
Create a document library in SharePoint
Restore items in the recycle bin that were deleted from SharePoint or Teams
Hope the information could be helpful to you.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.