---
title: "Update custom check scripts of the specified group"
method: PATCH
path: "/custom_check/{group}"
tags: ["Compliance"]
---

# Update custom check scripts of the specified group

`PATCH /custom_check/{group}`

## Request

- Base URL: `/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v1/custom_check/{group}`
- Auth: none declared. Required headers: `X-Auth-Token`
- TypeScript: <https://skmtc.dev/neuvector/apis/neuvector-api/docs/custom_check/:group/patch.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `group` string, required

## Headers

- `X-Auth-Token` string, required

## Request body

- RESTCustomCheckConfigData
  - `config` RESTCustomCheckConfig, required
    - `add` RESTCustomChecks, required
      - `group` string, required
      - `scripts` RESTCustomCheck[], required
        - `name` string, required
        - `script` string, required
    - `delete` RESTCustomChecks, required
      - `group` string, required
      - `scripts` RESTCustomCheck[], required
        - `name` string, required
        - `script` string, required
    - `update` RESTCustomChecks, required
      - `group` string, required
      - `scripts` RESTCustomCheck[], required
        - `name` string, required
        - `script` string, required

## Response `200`

Success

---

[API](https://skmtc.dev/neuvector/apis/neuvector-api.md) - [All operations](https://skmtc.dev/neuvector/apis/neuvector-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neuvector/apis/neuvector-api/revisions/b8d8d28840b3?raw)
