Skip to content

Delete a Test Suite API

To delete an existing conversation test suite.

Method DELETE
Endpoint https://{{host}}/api/public/stream/:streamId/conversation/testsuite
Content Type application/json
Authorization auth: {{JWT}}

See How to generate the JWT Token.

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

Query Parameters

PARAMETER DESCRIPTION MANDATE
host Environment URL. For example,https://bots.kore.ai Required
StreamID The Stream ID can be accessed under General Settings on the Bot Builder. Required

Sample Request

curl --location --request DELETE \
      'https://{{host}}/api/public/stream/:streamId/conversation/testsuite' \
      --header 'auth: {jwt-token}' \
      --header 'bot-language: {language-code}' \
      --header 'Content-Type: application/json' \
      --data-raw '{
         "testSuiteNames" : ["newtestcaseconvtest"] 
         }'

Body Parameters

PARAMETER DESCRIPTION MANDATE
testSuiteNames Array containing test suite names. Required

Sample Response

{
    "status": "Success"
}