Used to delete a Batch Test Suite.
To use this API, the app needs the Bot Builder Scope of Batch Tests Management
OR the Admin API Scope of Batch Tests Management.
DELETE https://{host}/api/public/bot/{botId}/testsuite/{testSuiteName}
Query Parameters
Parameter | Description |
---|---|
host | Environment URL, for example, https://bots.kore.ai |
botID | Bot ID or Stream ID. You can access it from the General Settings page of the bot. |
testSuiteName | Test Suite that needs to be deleted Only Custom Batch Test Suites can be deleted |
Authorization
Invoke the API with JWT in the header with the following syntax:
auth: {{JWT}}
Response content type
application/json
Sample Request
curl --location --request DELETE \ 'https://{host}/api/public/stream/{streamId}/testsuite/{testSuiteName}' \ --header 'auth: {jwt-code}' \ --header 'bot-language: {language-code}'
Sample Response
{ "message": "Test Suite removed successfully" }