顧客情報の削除

delete

/customercare/v1/{customerId}/provision

顧客情報を削除します。cancelAllTemporaryAllows、unregisterDevicesまたはresetのいずれかのパラメータがtrueである必要があります。複数のパラメータがtrueの場合、最も優先度の高い操作のみが完了します。優先順位は、cancelAllTemporaryAllows > unregisterDevices > resetです。

リクエスト

パス・パラメータ
問合せパラメータ

この操作にはリクエスト本文はありません。

先頭に戻る

レスポンス

サポートされているメディア・タイプ

200レスポンス

成功
本文()
ルート・スキーマ: StatusResponse
型: object
APIコールのステータス情報
ソースを表示

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>
先頭に戻る