cURL
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": "[email protected]", "domain": "example.com", "email": "[email protected]", "type": "domain", "digestTime": "09:00" } } '
{ "success": true }
Updates settings for an inbound domain including nexthop, status, and digest settings
Enter your Bearer token in the format "Bearer {token}"
UUID of the inbound domain
Next hop server in format domain:port or IP:port
"mail.example.com:25"
Domain status
active
disabled
Show child attributes
Email address to receive notifications
Domain for the digest settings (must match the inbound service domain)
"example.com"
Specific email address for digest (required when type is "email")
Type of digest settings
domain
email
Time for digest delivery in 24-hour format (HH:mm)
"09:00"
Settings updated successfully
true