Constructor
new ChatBotsDeleteService()
- Source:
Methods
call(user, chatbot_ids) → {Promise.<Object>}
Parameters:
Name |
Type |
Description |
user |
string
|
The ID of the user accessing the Soffos API.
This string will be used for throttling and profanity tracking.
Soffos assumes that the owner of the api is an application (app) and that app has users.
Soffos API will accept any string." |
chatbot_ids |
Array
|
List of the ids of the chatbots to be deleted. |
- Source:
Returns:
success - Determines if the API call is successful or not.
-
Type
-
Promise.<Object>
Example
Examples are available at "https://github.com/Soffos-Inc/soffosai-js/tree/master/samples"
Parameters:
Name |
Type |
Description |
name |
string
|
Reference name of this Service.
It will be used by the Pipeline to reference this Service. |
chatbot_ids |
Array
|
InputConfig
|
List of the ids of the chatbots to be deleted. |
- Source: