Can I disable the delete list permission in SharePoint?
How can I customize the edit or contribute permission to remove the delete capability?
You need to create your own Permission level in SharePoint according to your need.
Either you can create a new permission level from start or you can copy an existing permission level and make some changes like removing deletion capability.
Check below article:
Contribute permission is not having create list or delete list capabilities, Edit permission is having both capabilities, to remove those permission use following steps.
Depending on what you are trying to achieve, you could also just reconfigure your list(s) to not allow deletion by anyone.
Using PnP PowerShell:
Connect-PnPOnline -Url <WebUrl> $list = Get-PnPList <list name> $list.AllowDeletion = $false $list.Update() Invoke-PnPQuery