addAccount #
Adds a Sendgrid account. This account can then be used to send emails.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_/hermes/sendgrid/accounts
Method: POST
Other protocols #
{
"controller": "hermes/sendgrid",
"action": "addAccount",
"account": "<account name>",
"body": {
"apiKey": "<sendgrid api key>",
"defaultSender": "<default sender email>"
}
}
Kourou #
kourou hermes/sendgrid:addAccount -a account=<account name> --body '{
"apiKey": "<sendgrid api key>",
"defaultSender": "<default sender email>"
}'
Edit this page on Github(opens new window)