Pular para o conteúdo

Update Email Config

PUT
/api/v1/email/config/{config_id}

Update email configuration.

Super Admin only.

config_id
required
Config Id
integer
EmailConfigUpdate

Schema for updating email configuration

object
provider
Any of:
EmailProvider

Email provider types

string
Allowed values: SMTP SENDGRID MAILGUN SES
smtp_host
Any of:
string
smtp_port
Any of:
integer
smtp_user
Any of:
string
smtp_password
Any of:
string
smtp_use_tls
Any of:
boolean
smtp_use_ssl
Any of:
boolean
api_key
Any of:
string
from_email
Any of:
string format: email
from_name
Any of:
string
reply_to
Any of:
string format: email
is_active
Any of:
boolean

Successful Response

EmailConfigResponse

Schema for email configuration response

object
provider
string
Allowed values: SMTP SENDGRID MAILGUN SES
smtp_host
Any of:
string
smtp_port
Any of:
integer
smtp_user
Any of:
string
smtp_password
Any of:
string
smtp_use_tls
Smtp Use Tls
boolean
default: true
smtp_use_ssl
Smtp Use Ssl
boolean
api_key
Any of:
string
from_email
required
From Email
string format: email
from_name
required
From Name
string
reply_to
Any of:
string format: email
is_active
Is Active
boolean
default: true
id
required
Id
integer
tenant_id
required
Any of:
integer
is_verified
required
Is Verified
boolean
created_at
required
Created At
string format: date-time
updated_at
required
Updated At
string format: date-time

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string