CustomSmtp

Update record

PUT
http://localhost:3000/api/smtp/{id}

Body

application/json
fromAddressstringrequired
Example
noreply@domain.com
hoststringrequired
Example
smtp.postmarkapp.com
Example
smtp.gmail.com
portnumberrequired
Example
587
Example
465
securebooleanrequired
Example
true
Example
false
isValidatebooleanfalse
organizationIdstring
usernamestringrequired
passwordstringrequired

Response

201Created

The record has been successfully edited.

400Bad Request

Invalid input, The response body may contain clues as to what went wrong

401Unauthorized

Unauthorized

403Forbidden

Forbidden

404Not Found

Record not found

Authorization

bearerhttp (bearer) in header

Enter JWT token

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey