Delete Privileged Account Credential ​
DELETE /winapi/privaccount
Deleting a Privileged Account Credential entry is possible by submitting a 'DELETE' HTTP Verb to the API. When a entry is deleted, you will be returned a Http Status Code of 204 - NoContent. The account executing this call must have the Privileged Account Credentials Security Administrator's role in Passwordstate.
Powershell
# PowerShell Request
$PasswordstateURL = 'https://passwordstate/winapi/privaccount/?PrivilegedAccountID<value>'
Invoke-Restmethod -Method Delete -Uri $PasswordstateURL -UseDefaultCredentialsJson
# Response
HTTP/1.1 204 No Content