---
title: PUT Threshold
description: The PUT method in Threshold API is used to set the threshold values for attack types. If you set the mode to system, the user set values are dropped. If you move the mode back to user, you would need to configure the threshold values again. For more information on manually setting threshold values, see Manually set thresholds.
component: pingintelligence
version: 5.1
page_id: pingintelligence:abs_ai_engine:pingintelligence_put_threshold
canonical_url: https://docs.pingidentity.com/pingintelligence/5.1/abs_ai_engine/pingintelligence_put_threshold.html
revdate: April 3, 2024
---

# PUT Threshold

The PUT method in Threshold API is used to set the threshold values for attack types. If you set the mode to `system`, the user set values are dropped. If you move the mode back to `user`, you would need to configure the threshold values again. For more information on manually setting threshold values, see [Manually set thresholds](pingintelligence_tune_thresholds_false_positives.html#manually_set_thresholds).

**Method**: PUT

**URL:**: `/v4/abs/attack/threshold`

|                | **Header** | **Value**  |
| -------------- | ---------- | ---------- |
| **Access Key** | `x-abs-ak` | `<string>` |
| **Secret Key** | `x-abs-sk` | `<string>` |

**Sample input for an API**

```json
{
 "api_name" : "atmapp",
  "mode": "system",
 "ioc_threshold": [
 {
 "type": "api_memory_post",
 "variable": "A",

 },
 {
 "type": "api_memory_put",
 "variable": "B"
 }
 ]
}
```

The following is the response when the threshold values are set:

```json
{
    "status_code": "SUCCESS",
    "message": "attack threshold updated"
}
```

**Sample input for across API**:

```json
{
 "id":"18",
  "mode": "user",
 "ioc_threshold": [
{
     "type": "extended_probing_replay_cookie",
     "variable": "A",
     "tn": "25",
     "tx": "28"
   },{
     "type": "extended_probing_replay_cookie",
     "variable": "B",
     "tn": "3",
     "tx": "4"
   }
]
}
```

The following is the response when the threshold values are set:

```json
{
    "status_code": "SUCCESS",
    "message": "attack threshold updated"
}
```
