cURL
Update username
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" }
Updates an existing SMTP user configuration
Enter your Bearer token in the format "Bearer {token}"
SMTP user updated successfully
The response is of type object.
object