Skip to content

Update an email provider

PUT
/api/v1/email/providers/{id}
curl --request PUT \
--url http://127.0.0.1:58259/api/v1/email/providers/1 \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "host": "example", "port": 1, "username": "example", "password": "example", "fromAddress": "example", "auth": true, "startTls": true, "shared": true }'

Update an existing email provider configuration.

id
required
integer format: int64

ID of the email provider

Media type application/json

Email provider creation request

object
name
string
host
string
port
integer format: int32
username
string
password
string
fromAddress
string
auth
boolean
startTls
boolean
shared
boolean
Example generated
{
"name": "example",
"host": "example",
"port": 1,
"username": "example",
"password": "example",
"fromAddress": "example",
"auth": true,
"startTls": true,
"shared": true
}

Email provider updated successfully

Media type */*
object
id
integer format: int64
userId
integer format: int64
name
string
host
string
port
integer format: int32
username
string
fromAddress
string
auth
boolean
startTls
boolean
defaultProvider
boolean
shared
boolean