POST https://apis.wso2.com/api/am/admin/v0.16/botData/addEmail
Here we can use this to configure email
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Body |
body required |
A email |
Email (Email) |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Email List updated. |
|
400 |
Bad Request. Invalid request or validation error. |
Error |
404 |
Not Found. The resource to be updated does not exist. |
Error |
DELETE https://apis.wso2.com/api/am/admin/v0.16/botData/deleteEmail
Delete an configured email from DB by pasing uuid.
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
uuid required |
Pass the uuid to remove the email |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Email successfully deleted. |
|
404 |
Not Found. Resource to be deleted does not exist. |
Error |
412 |
Precondition Failed. The request has not been performed because one of the preconditions is not met. |
Error |
GET https://apis.wso2.com/api/am/admin/v0.16/botData/getEmailList
Get all email list which configured to trigger for BotData api email alert
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
tenantDomain optional |
Pass the tenantDomain to get the email list and if not passed it will get from the logged user. |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Export Successful. |
|
400 |
Bad Request.messageID Invalid request or validation error |
Error |
404 |
Not Found. Requested Data does not exist. |
Error |
406 |
Not Acceptable. The requested media type is not supported |
Error |