---
title: "Update customer compliance rule"
method: PATCH
path: "/customer-compliance-rules/{customer_rule_id}"
tags: ["Compliance Rules"]
---

# Update customer compliance rule

`PATCH /customer-compliance-rules/{customer_rule_id}`

Updates the status and/or parameter values of an existing customer compliance rule. At least one of `status` or `param_values` must be provided. The authenticated company must have vetting access permissions.

## Path parameters

- `customer_rule_id` string, uuid, required

## Request body

- union
  - object
    - `status` 'enabled' | 'disabled', required — Updated vetting status of the rule.
    - `param_values` object — Dynamic parameter values used during carrier evaluation. For the Observed by GenLogs rule, `date_interval` must be a supported interval, `decision_matrix` may only contain `false` and `true` keys, `false` must be `review` or `fail`, and `true` must be `pass`. `fail_message` and `pass_message` must be booleans.
  - object
    - `status` 'enabled' | 'disabled' — Updated vetting status of the rule.
    - `param_values` object, required — Dynamic parameter values used during carrier evaluation. For the Observed by GenLogs rule, `date_interval` must be a supported interval, `decision_matrix` may only contain `false` and `true` keys, `false` must be `review` or `fail`, and `true` must be `pass`. `fail_message` and `pass_message` must be booleans.

## Response `200`

Customer compliance rule updated successfully.

- object
  - `status_code` string
  - `message` string

## Other responses

- `400` — Bad Request – Invalid input, missing required fields, or invalid external rule param_values.
- `401` — Unauthorized – Invalid or missing Access-Token.
- `403` — Forbidden – Company user does not have vetting access permission.
- `404` — Not Found – Customer compliance rule does not exist.
- `500` — Internal Server Error.

---

[API](https://skmtc.dev/genlogs/apis/auth-api-create-token.md) · [All operations](https://skmtc.dev/genlogs/apis/auth-api-create-token/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/genlogs/auth-api-create-token/revisions/bf34c2431a21/schema)
