고객 데이터 삭제 요청의 상태를 가져오는 데 사용됩니다.

이 API를 사용하려면 오직 봇 관리자 콘솔에서 생성된 애플리케이션에서 만들어진 JWT가 필요합니다. 이 API를 사용하려면 앱은 봇 분석 아래에 있는 사용자 데이터 삭제의 관리자 API 범위가 필요합니다.

GET: https://{{host}}/api/public/bot/eraseUsersData/status/:reqId 참고 사항: 이 기능은 플랫폼의 v7.1에 도입되었습니다.

쿼리 매개 변수

매개 변수 설명
host 환경 URL(예: https://bots.kore.ai)
reqId API 삭제 요청에 의해 생성된 요청 ID입니다.

권한 부여

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

콘텐츠 유형 응답

application/json

샘플 요청

curl -X GET \
   https://{{host}}/api/public/bot/eraseUsersData/status/{{delete request Id}}\
  -H 'Content-Type: application/json' \
  -H 'auth: YOUR_JWT_ACCESS_TOKEN' \

샘플 응답

{
    "_id" : "eud-xxx-xxx-xxx-xxx-xxxxxxx",
    "createdOn" : ISODate("2019-09-26T08:42:53.552Z"),
    "lastUpdatedOn" : ISODate("2019-09-26T08:42:53.972Z"),
    "RemoveDataFromAllBots" : true, // based on request payload
    "response" : [ 
        {
            "userId" : "u-xxxxx-xxx-xxx-xxx-xxxxxxx",
            "status" : "SUCCESS"
        }
    ]
}

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には、ボット管理者コンソールからのみ作成されたアプリケーションによって生成されたJWTが必要です。このAPIを使用するために、アプリは [ボット分析] の [ユーザーデータを削除] の管理APIスコープを必要とします。

GET https://{{host}}/api/public/bot/eraseUsersData/status/:reqId 注意:この機能は、プラットフォームのバージョン7.1で導入されました。

クエリパラメータ

パラメータ 説明
ホスト 環境URL(例: https://bots.kore.ai)
reqId [APIリクエストを削除] によって生成されたリクエストIDです。

認証

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

応答のコンテンツタイプ

application/json

サンプルリクエスト

curl -X GET \ https://{{host}}/api/public/bot/eraseUsersData/status/{{delete request Id}}\ -H 'Content-Type: application/json' \ -H 'auth: YOUR_JWT_ACCESS_TOKEN' \

サンプル応答

{ "_id" : "eud-xxx-xxx-xxx-xxx-xxxxxxx", "createdOn" : ISODate("2019-09-26T08:42:53.552Z"), "lastUpdatedOn" : ISODate("2019-09-26T08:42:53.972Z"), "RemoveDataFromAllBots" : true, // based on request payload "response" : [ { "userId" : "u-xxxxx-xxx-xxx-xxx-xxxxxxx", "status" : "SUCCESS" } ] }

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 get the status of the Customer Data Delete request.

This API requires JWT generated by an application created only from Bot Admin Console.
To use this API, app needs the Admin API Scope of Delete Users Data under Bot Analytics.

GET https://{{host}}/api/public/bot/eraseUsersData/status/:reqId

NOTE: This feature was introduced in ver7.1 of the platform.

Query Parameters

Parameter Description
host Environment URL, for example, https://bots.kore.ai
reqId Request Id as generated by the Delete API request.

Authorization

Invoke the API with JWT in the header with the following syntax:

auth: {{JWT}}

Response Content Type

application/json

Sample Request

curl -X GET \
   https://{{host}}/api/public/bot/eraseUsersData/status/{{delete request Id}}\
  -H 'Content-Type: application/json' \
  -H 'auth: YOUR_JWT_ACCESS_TOKEN' \

Sample Response

{
    "_id" : "eud-xxx-xxx-xxx-xxx-xxxxxxx",
    "createdOn" : ISODate("2019-09-26T08:42:53.552Z"),
    "lastUpdatedOn" : ISODate("2019-09-26T08:42:53.972Z"),
    "RemoveDataFromAllBots" : true, // based on request payload
    "response" : [ 
        {
            "userId" : "u-xxxxx-xxx-xxx-xxx-xxxxxxx",
            "status" : "SUCCESS"
        }
    ]
}

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