Hi @Xavier Pernot
This is a doc bug. In fact, OneDrive personal accounts do not support the permanentDelete
API, it only applies to OneDrive for Business and SharePoint document libraries.
Please submit a user voice for this or open a support ticket.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.