Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

Technical documentation and design available at: https://wikifolio-org.folioatlassian.orgnet/wiki/x/eRguAgexob

SMTP configuration


To
retrieve a list of SMTP entries:

GET /configurations/entries?query=module=SMTP_SERVERsmtp-configuration


To create a new SMTP entry:

POST /configurations/entriessmtp-configuration

{
     "module": "SMTP_SERVER",
     "configName": "email",
     "code": "EMAIL_FROM"
     "description": "smtp from",
     "default": true,
     "enabled": true,
     "value": "noreply@folio.org"
}

...

To delete a SMTP entry:

DELETE /configurations/entriessmtp-configuration/{entry_idsmtpConfigurationId}

  • Entry ID can be looked up in the result of a GET call.

...

To update an existing entry:

PUT /configurations/entriessmtp-configuration/{entry_idsmtpConfigurationId}

{
     "module": "SMTP_SERVER",
     "configName": "email",
     "code": "EMAIL_FROM",
     "description": "smtp from",
     "default": true,
     "enabled": true,
     "value": "noreply@folio.org"
}

...