Update Address Book Contact ​
PUT /winapi/addressbook
Updating an existing Address Book contact can be achieved by making a PUT request on the URL, with appropriate fields forming the HTTP message body. To update Address Book contacts, you must have access to the feature 'Manage Global Contacts' on the screen Administration -> Feature Access -> Miscellaneous tab.
Powershell
#JSON data for the object
$Body = @{
AddressBookID = "33"
PassPhrase = "NewPas$Fraze2134"
}
$jsonData = $Body | ConvertTo-Json
$PasswordstateURL = 'https://passwordstate/winapi'
$result = Invoke-Restmethod -Method Put -Uri $PasswordstateURL'/addressbook' -ContentType "application/json" -Body $jsonData -UseDefaultCredentials
Write-Output $result