code: def set_password(url, ownerToken, password):
      '''
          set or change the password required to download a file hosted on a send server.
      '''
      
      service, fileId, key = sendclient.common.splitkeyurl(url)
      rawKey = sendclient.common.unpadded_urlsafe_b64decode(key)
      keys = sendclient.common.secretKeys(rawKey, password, url)
      
      return api_password(service, fileId, ownerToken, keys.newAuthKeyf set_password(url, ownerToken, password):
      '''
          set or change the password required to download a file hosted on a send server.
      '''
      
      service, fileId, key = sendclient.common.splitkeyurl(url)
      rawKey = sendclient.common.unpadded_urlsafe_b64decode(key)
      keys = sendclient.common.secretKeys(rawKey, password, url)
      
      return api_password(service, fileId, ownerToken, keys.newAuthKey)
docs: set or change the password required to download a file hosted on a send server.