default


Add an Email

POST https://apis.wso2.com/api/am/admin/v0.16/botData/addEmail

Here we can use this to configure email

OAuth 2.0 Scope

Not required

Examples

Parameters

Type Name Description Schema Default
Body

body

required

A email

Email (Email)

Responses

HTTP Code Description Schema

200

OK. Email List updated.

Email

400

Bad Request. Invalid request or validation error.

Error

404

Not Found. The resource to be updated does not exist.

Error

Delete an configured email.

DELETE https://apis.wso2.com/api/am/admin/v0.16/botData/deleteEmail

Delete an configured email from DB by pasing uuid.

OAuth 2.0 Scope

Not required

Examples

Parameters

Type Name Description Schema Default
Query

uuid

required

Pass the uuid to remove the email

String

Responses

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 all configured email list

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

OAuth 2.0 Scope

Not required

Examples

Parameters

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

Responses

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