顧客情報の削除
delete
/customercare/v1/{customerId}/provision
顧客情報を削除します。cancelAllTemporaryAllows、unregisterDevicesまたはresetのいずれかのパラメータがtrueである必要があります。複数のパラメータがtrueの場合、最も優先度の高い操作のみが完了します。優先順位は、cancelAllTemporaryAllows > unregisterDevices > resetです。
リクエスト
パス・パラメータ
- customerId(required): string
ユーザーのuniqueUserIdです。詳細は、ユーザー・プリファレンスAPIを参照してください。
問合せパラメータ
- cancelAllTemporaryAllows: boolean
ユーザーのすべての一時許可を取り消します
- reset: boolean
登録、質問、イメージおよびフレーズを含む、ユーザーに設定されたすべてのプロファイルをリセットします
- unregisterDevices: boolean
ユーザーのすべてのデバイスを登録解除します
この操作にはリクエスト本文はありません。
先頭に戻るレスポンス
サポートされているメディア・タイプ
- application/xml
- application/json
200レスポンス
成功
ルート・スキーマ: StatusResponse
型:
object
APIコールのステータス情報
ソースを表示
-
responseCode: string
リクエストのステータス・コード
-
responseMessage: string
レスポンス・コードに関連するレスポンス・メッセージ(必要に応じて)。
-
sessionId: string
認証のセッションID。
-
status: boolean
認証更新リクエスト・ステータス
400レスポンス
無効な入力
404レスポンス
顧客IDが見つかりません
例
次の例は、顧客情報を削除するサンプルのリクエストとレスポンスを示しています。
JSON形式で顧客情報を削除するcURLコマンド
curl --location --request DELETE '<RISKCC>/customercare/v1/{customerId}/provision?unregisterDevices=true&cancelAllTemporaryAllows=true&reset=true' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic <Base64Encoded(<username>:<password>)>'
JSON形式のサンプル・レスポンス
{ "responseCode": "0", "responseMessage": "", "status": true }
XML形式で顧客情報を削除するcURLコマンド
curl --location --request DELETE '<RISKCC>/customercare/v1/{customerId}/provision?unregisterDevices=true&cancelAllTemporaryAllows=true&reset=true' \ --header 'Content-Type: application/xml' \ --header 'Accept: application/xml' \ --header 'Authorization: Basic <Base64Encoded(<username>:<password>)>'
XML形式のサンプル・レスポンス
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <StatusResponse> <responseCode>0</responseCode> <responseMessage></responseMessage> <status>true</status> </StatusResponse>