How do I update a lead owner only using the owner email (Zoho API v2)?

How do I update a lead owner only using the owner email (Zoho API v2)?

I want to update the lead owner by using their email address, and not their ID. I know it is possible because I've done it before but I didn't save the request I made, and I don't remember how I did it.

Something like this:
  1. URL: https://www.zohoapis.com/crm/v2/Leads/upsert
  2. BODY:
  3. {
  4.     "data": [
  5.         {
  6.             "Owner": {
  7.                 "Email": "ownerEmail@domain.com.br"
  8.             },
  9.             "Email": "test@gmail.com"
  10.         }
  11.     ]
  12. }
But I'm getting an error saying I need to provide the Owner ID, but I'm not supposed to care about it, since the email is already their identifier.


Thanks in advance,
Felipe.