# Clear the Online PIN Try Counter
source: https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/pin-management/clear-online-pin-try-counter/index.md

## Test case -- Success -- Clear the online PIN try counter for a Client {#test-case--success--clear-the-online-pin-try-counter-for-a-client}

This test case describes clearing the PIN try counter for a specified client.

**Sample request**

`PUT /clients/40000/online-pin-attempts-counter`

```JSON
{
  "clearAttemptsOnClientCards": true
}
```

**Sample response**

`204`

## Test case -- Success -- Clear the online PIN try counter for a Card Contract {#test-case--success--clear-the-online-pin-try-counter-for-a-card-contract}

This test case describes clearing the PIN try counter for a specified card contract.

**Sample request**

`PUT /cards/70001/online-pin-attempts-counter`

```JSON
{
  "cleared": true
}
```

**Sample response**

`204`
