leads
Update Lead
Update an existing lead.
Args: lead_id: Lead UUID lead_data: Updated lead data supabase: Supabase client
Returns: API response with updated lead data
put/api/leads/{lead_id}
Request
- Base URLhttps://api.riskcube.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.riskcube.com/api/leads/{lead_id}
- Authnone declared
Path parameters
lead_idstring uuid required
Request body
Example request
{
"address_city": "New York",
"address_state": "NY",
"address_street": "123 Main St",
"address_zip": "10001",
"company_name": "Acme Corp",
"contact_name": "John Doe",
"contact_number": "+1-555-123-4567",
"contact_role": "Operations Manager",
"email": "john@example.com",
"stage": "Lead"
}Response
Successful Response
Example response
{
"data": {},
"message": "Operation completed successfully",
"success": true
}Changes
No recorded changes to this operation across all 15 revisions of this API.