CustomSmtp
Update record
PUT
http://localhost:3000/api/smtp/{id}
Body
application/json
fromAddressstringrequiredExample
noreply@domain.comhoststringrequiredExample
smtp.postmarkapp.comExample
smtp.gmail.comportnumberrequiredExample
587Example
465securebooleanrequiredExample
trueExample
falseisValidatebooleanfalseorganizationIdstringusernamestringrequiredpasswordstringrequiredResponse
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 headerEnter JWT token