updateCustomAccount #
Update a Hermes account associated with the tenant and store data in the tenant's metadata.
URL: http://kuzzle:7512/hermes/config/:client/update
Method: POST
Body:The body depends on the messenger client. Different configurations available for updating tenant data.
SMTP #
{
"tenantId": "<tenantId>"
"host": "<host>",
"port": "<port>", // number
"user": "<user>",
"password": "<password>",
"defaultSender": "<defaultSender>", // email
}Arguments :
tenantId: Tenant to updatehost: smtp server host name or ip addressport: smtp portuser: smtp userpassword: smtp passworddefaultSender: default mail address displayed as sender when a message is sent with this account
Sendgrid #
{
"tenantId": "<tenantId>",
"apiKey": "<apiKey>",
"defautSender":"<defautSender>", // email
}Arguments :
tenantId: Tenant to updateapiKey: sendGrid API keydefaultSender: default mail address displayed as sender when a message is sent with this account
Twilio #
{
"tenantId": "<tenantId>",
"accountSid": "<accountSid>",
"authToken": "<authToken>",
"defautSender": "<defautSender>", // phone number
}Arguments :
tenantId: Tenant to updateaccountSid: twilio account SIDauthToken: twilio auth tokendefaultSender: default phone number displayed as sender when a message is sent with this account