Delete Password List ​
DELETE /userapi/passwordlists
Deleting a Password List can be achieved by using the Delete request format below. Note you must have Administrator rights to the Password List in order to delete it.
Powershell
$PasswordstateURL = 'https://passwordstate/userapi/passwordlists/<PasswordListID>'
$result = Invoke-Restmethod -Method Delete -Uri $PasswordstateURL -Header @{ "UserID" = "<UserID>" ; "APIKey" = "<APIKey>" }