def modify_ip(self, ip_addr, ptr_record):
body = {<EOL>'<STR_LIT>': {<EOL>'<STR_LIT>': ptr_record<EOL>}<EOL>}<EOL>res = self.request('<STR_LIT>', '<STR_LIT>' + str(ip_addr), body)<EOL>return IPAddress(cloud_manager=self, **res['<STR_LIT>'])<EOL>
Modify an IP address' ptr-record (Reverse DNS).

Accepts an IPAddress instance (object) or its address (string).