Reset challenge counters

delete

/customercare/v1/{customerId}/counters

Reset challenge failure counters for a given user. Must specify a questionId or challengeType, but not both.

Request

Path Parameters
Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : StatusResponse
Type: object
Status information for API call
Show Source

400 Response

Invalid input

404 Response

Customer ID not found
Back to Top

Examples

The following example shows a sample request and response for resetting the challenge failure counters for a specific user.

cURL Command to Reset the Challenge Failure Counter in JSON Format

curl --location --request DELETE '<RISKCC>/risk-cc/customercare/v1/{customerId}/counters?requestId=edbe55c6-438f-448f-a742-9925b6471fe1challengeType=ChallengeOMATOTP' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic <Base64Encoded(<username>:<password>)>'

Sample Response in JSON Format

{
    "responseCode": "0",
    "responseMessage": "",
    "status": true
}

cURL Command to Reset the Challenge Failure Counter in XML Format

curl --location --request DELETE '<RISKCC>/risk-cc/customercare/v1/{customerId}/counters?requestId=edbe55c6-438f-448f-a742-9925b6471fe1challengeType=ChallengeOMATOTP' \
--header 'Content-Type: application/xml' \
--header 'Accept: application/xml' \
--header 'Authorization: Basic <Base64Encoded(<username>:<password>)>'

Sample Response in XML Format

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<StatusResponse>    
    <responseCode>0</responseCode>
    <responseMessage></responseMessage>
    <status>true</status>
</StatusResponse>
Back to Top