Jump to content

mikkijayne

Members
  • Posts

    1
  • Joined

  • Last visited

mikkijayne's Achievements

  1. Hi all, I'm working with the API in PowerShell and all is going well so far until I try to delete a password. I do a search to get the ID in to the $pwid variable (works fine), and then pass that to the following command (derived from the API documentation): Invoke-Restmethod -Method Delete -Uri "https://password.server.com/winapi/passwords/$pwid?MoveToRecycleBin=false" -ContentType "application/json" -UseDefaultCredentials This gives an error thus: Invoke-Restmethod : [{"errors":[{"message":"Method Not Allowed"},{"phrase":"The requested resource does not support http method 'DELETE'."}]}] I can delete passwords in the UI just fine with this account so I don't think its permissions. Any suggestions please? Thanks MJ
×
×
  • Create New...