> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vecurity.net/llms.txt
> Use this file to discover all available pages before exploring further.

# [POST] Update Threshold

> Update Threshold

<Info>
  **Prerequisite:**&#x20;

  Please ensure you have read the VISE Overview before proceeding as the API endpoint is based on your VISE url which is dynamic.

  Where vise-url is mentioned, we are referring to your actual VISE domain, not 'vise-url'. Explained in the VISE overview.
</Info>

<Warning>
  All requests to the Vecurity VISE API requires Session creation in tandem with your Vecurity API token in order to make use of the API Endpoints. More details can be found the [VISE Authentication](/api-reference/endpoint/vecurity-vise/vise-authentication) page.

  If you require support here, please get in touch with our Live chat or [support@vecurity.net](mailto:support@vecurity.net)
</Warning>

#### HTTP Endpoint `POST`

```
https://{VISE-URL}/api/update_threshold
```

#### Request Body Parameters

```json theme={null}
{
  "domain_id": "string (required) - MD5 UUID of the domain",
  "record_id": "string (required) - ID of the DNS record",
  "threshold_type": "string (required) - One of ['asset', 'server']",
  "threshold_value": "integer (required) - Value between 20 and 1000"
}
```

#### Endpoint Description

Updates the threshold settings for a specific record. Threshold types:

* asset: Asset-based threshold
* server: Server-based threshold

The threshold value must be between 20 and 1000.

#### Response Example

<CodeGroup>
  ```json 200 theme={null}
  {
    "status": 200,
    "message": "Threshold updated successfully",
    "data": {}
  }
  ```

  ```json 400 theme={null}
  {
    "status": 400,
    "message": "Invalid request parameters"
  }
  ```

  ```json 401 theme={null}
  {
    "status": 401,
    "message": "Authentication required"
  }
  ```
</CodeGroup>
