PATCH
/
inbound
/
settings
/
{uuid}
curl --request PATCH \
  --url https://api.jetemail.com/inbound/settings/{uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "nexthop": "mail.example.com:25",
  "status": "active",
  "digestSettings": {
    "notification_email": "jsmith@example.com",
    "domain": "example.com",
    "email": "jsmith@example.com",
    "type": "domain",
    "digestTime": "09:00"
  }
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Enter your Bearer token in the format "Bearer {token}"

Path Parameters

uuid
string
required

UUID of the inbound domain

Body

application/json
nexthop
string

Next hop server in format domain:port or IP:port

Example:

"mail.example.com:25"

status
enum<string>

Domain status

Available options:
active,
disabled
digestSettings
object

Response

200
application/json
Settings updated successfully
success
boolean
Example:

true