Skip to content

Delete Batch Test Suite Execution API

To delete a specific execution of a Batch Test Suite.

Method DELETE
Endpoint https://{host}/api/public/bot/{botId}/testsuite/{testSuiteName}/{testRunId}
Content Type application/json
Authorization auth: {{JWT}}

See How to generate the JWT Token.

API Scope
  • Bot Builder: Batch Tests Management
  • Admin Console: Batch Tests Management

Query Parameters

PARAMETER DESCRIPTION MANDATE
host The environment URL. For example, https://bots.kore.ai Required
BotID Bot ID or Stream ID can be accessed under General Settings on the Bot Builder. Required
testSuiteName Name of the test suite on the Bot Builder. Required
testRunId The unique identifier of an execution result obtained by running the test execution API. Required

Sample Request

curl --location --request DELETE \
     'https://{host}/api/public/bot/{botId}/testsuite/{testSuiteName}/{testRunId}' \
      --header 'auth: {YOUR_JWT_ACCESS_TOKEN}' \
      --header 'bot-language: {language-code}'

Body Parameters

No body parameters are passed.

Sample Response

{
    "message": "Test Result Removed Successfully"
}