src/Controllers/ContactController.php
public function updateContactPassword(Contact $contact, $newPassword)
    {
        return $this->httpHelper->patch("accounts/" . $contact->getAccountID() . "/contacts/" . $contact->getContactID(), [
            'password' => $newPassword,
        ]);
    }
public function updateContactPassword(Contact $contact, $newPassword)
    {
        return $this->httpHelper->patch("accounts/" . $contact->getAccountID() . "/contacts/" . $contact->getContactID(), [
            'password' => $newPassword,
        ]);
    }
public function updateContactPassword ( Contact $ contact , $ newPassword ) { return $ this -> httpHelper -> patch ( "accounts/" . $ contact -> getAccountID ( ) . "/contacts/" . $ contact -> getContactID ( ) , [ 'password' => $ newPassword , ] ) ; }
Update the password for a contact
@param Contact $contact
@param $newPassword
@return mixed
@throws \SonarSoftware\CustomerPortalFramework\Exceptions\ApiException
Update the password for a contact