Skip to content

Update Smtp Config

PUT
/api/outreach/smtp/config
curl --request PUT \
--url http://localhost:8000/api/outreach/smtp/config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "smtp_email": "example", "smtp_from_name": "example", "smtp_host": "example", "smtp_max_per_hour": 1, "smtp_password": "example", "smtp_port": 1, "smtp_use_tls": true }'
x-workspace-id
Any of:
string
Media typeapplication/json
SMTPConfigUpdate
object
smtp_email
Any of:
string
smtp_from_name
Any of:
string
smtp_host
Any of:
string
smtp_max_per_hour
Any of:
integer
smtp_password
Any of:
string
smtp_port
Any of:
integer
smtp_use_tls
Any of:
boolean
Examplegenerated
{
"smtp_email": "example",
"smtp_from_name": "example",
"smtp_host": "example",
"smtp_max_per_hour": 1,
"smtp_password": "example",
"smtp_port": 1,
"smtp_use_tls": true
}

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"
}
]
}