code: def transfer_user(self, username, transfer_address, owner_privkey):
          
  
          url = self.base_url + "/users/" + username + "/update"
  
          owner_pubkey = get_pubkey_from_privkey(owner_privkey)
  
          payload = {
              'transfer_address': transfer_address,
              'owner_pubkey': owner_pubkey
              }
  
          resp = self._post_request(url, payload)
  
          try:
              unsigned_tx = resp['unsigned_tx']
          except:
              return resp
  
          # sign all unsigned inputs
          signed_tx = sign_all_unsigned_inputs(owner_privkey, unsigned_tx)
  
          return self.broadcast_transaction(signed_tx)
docs: Transfer name on blockchain