PATCH
/
outbound
/
smarthost
curl --request PATCH \
--url https://api.jetemail.com/outbound/smarthost \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"currentUsername": "old-user",
"newUsername": "new-user"
}'
{
  "success": true,
  "message": "Smarthost updated successfully"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

SMTP user updated successfully

The response is of type object.