Skip to content

SetupConfigController_smtpConfigure

POST
/setup/v1/smtp/configure
curl --request POST \
--url https://your-store.example.com/setup/v1/smtp/configure \
--header 'Content-Type: application/json' \
--data '{ "host": "example", "port": 1, "secure": true, "user": "example", "pass": "example", "from": "example" }'
Media type application/json
object
host
required
string
>= 1 characters <= 255 characters
port
required
integer
>= 1 <= 65535
secure
required
boolean
user
string
<= 255 characters
pass
string
<= 1024 characters
from
required
string
>= 3 characters <= 320 characters
Example generated
{
"host": "example",
"port": 1,
"secure": true,
"user": "example",
"pass": "example",
"from": "example"
}