Used to delete a specific execution of 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}/{testRunId}
Query Parameters
Parameter | Description |
---|---|
host | Environment URL, for example, https://bots.kore.ai |
botID | Bot ID. You can access it from the General Settings page of the bot. |
testSuiteName | Test Suite that needs to be deleted |
testRunId | Unique identity to reference to an execution result, obtained by running test execution API, more… |
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/bot/{botId}/testsuite/{testSuiteName}/{testRunId}' \ --header 'auth: {jwt-code}' \ --header 'bot-language: {language-code}'
Sample Response
{ "message": "Test Result Removed Successfully" }