Skip to content

Update Lead

PUT
/api/lead/{lead_id}
curl --request PUT \
--url http://localhost:8000/api/lead/1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'
lead_id
required
Lead Id
integer
x-workspace-id
Any of:
string
Media typeapplication/json
Body
object
key
additional properties
any
Examplegenerated
{}

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}