일괄 테스트 제품군을 삭제하는 데 사용됩니다.

이 API를 사용하려면 일괄 테스트 관리의 봇 빌더 범위 또는 일괄 테스트 관리의 관리자 API 범위가 필요합니다.

DELETE https://{host}/api/public/bot/{botId}/testsuite/{testSuiteName}

쿼리 매개 변수

매개 변수 설명
host URL 환경(예: https://bots.kore.ai
botID 봇 ID 또는 스트림 ID. 봇의 일반 설정 페이지에서 이를 액세스할 수 있습니다.
testSuiteName 삭제되어야 하는 테스트 제품군은 맞춤형 일괄 테스트 제품군만 삭제할 수 있습니다

권한 부여

다음 구문을 포함한 헤더에 JWT를 포함한 API를 호출합니다. auth: {{JWT}}

콘텐츠 유형 응답

application/json

샘플 요청

curl --location --request DELETE \
     'https://{host}/api/public/stream/{streamId}/testsuite/{testSuiteName}' \
       --header 'auth: {jwt-code}' \
       --header 'bot-language: {language-code}'

샘플 응답

{
    "message": "Test Suite removed successfully"
}

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed

バッチテストスイートを削する際に使用されます。

このAPIを使用するには、アプリはバッチテストの管理のボットビルダースコープ、またはバッチテストの管理の管理者APIスコープが必要です。

DELETE https://{host}/api/public/bot/{botId}/testsuite/{testSuiteName}

クエリパラメータ

パラメータ 説明
ホスト 環境URL(例) https://bots.kore.ai
botID ボットIDまたはストリームID。ボットの [一般設定] ページからアクセスすることができます。
testSuiteName 削除する必要があるテストスイート カスタムバッチテストスイートのみ削除可能

認証

以下の構文を使用して、JWTをヘッダーに含むAPIを呼び出します。 auth: {{JWT}}

応答のコンテンツタイプ

application/json

サンプルリクエスト

curl --location --request DELETE \ 'https://{host}/api/public/stream/{streamId}/testsuite/{testSuiteName}' \ --header 'auth: {jwt-code}' \ --header 'bot-language: {language-code}'

サンプル応答

{ "message": "テストスイートが正常に削除されました" }

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed

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"
}

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed