# Update SMTP Relay Configuration Update SMTP Relay Configuration Endpoint: PUT /rest/2.0/SMTP_RELAY_CONFIG Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.Username` (string) Username - `brmObjects.Updated` (string) System controlled field: Date and time the record was last updated - `brmObjects.Status` (string, required) Status - `brmObjects.ServerName` (string, required) Server Name - `brmObjects.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `brmObjects.Id` (string, required) Id - `brmObjects.SmtpRelayName` (string, required) SMTP Relay - `brmObjects.Created` (string) System controlled field: Date and time the record was created - `brmObjects.Port` (string, required) Port - `brmObjects.CreatedUserId` (string) System controlled field: Id of the user that created the record ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.Username` (string) Username - `retrieveResponse.Updated` (string) System controlled field: Date and time the record was last updated - `retrieveResponse.Status` (string) Status - `retrieveResponse.ServerName` (string) Server Name - `retrieveResponse.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `retrieveResponse.Id` (string) Id - `retrieveResponse.SmtpRelayName` (string) SMTP Relay - `retrieveResponse.Created` (string) System controlled field: Date and time the record was created - `retrieveResponse.Port` (string) Port - `retrieveResponse.CreatedUserId` (string) System controlled field: Id of the user that created the record ## Response 400 fields (application/json): - `error` (string) Bad request - `message` (string) Bad request ## Response 401 fields (application/json): - `error` (string) Unauthorized - `message` (string) Unauthorized ## Response 404 fields (application/json): - `error` (string) Not found - `message` (string) Not found ## Response 429 fields (application/json): - `error` (string) Too many requests - `message` (string) Too many requests ## Response 500 fields (application/json): - `error` (string) Internal error - `message` (string) Internal error