---
title: "Update Rule"
method: PATCH
path: "/action-configurations/{action_code}/rules/{rule_id}"
tags: ["Rules"]
---

# Update Rule

`PATCH /action-configurations/{action_code}/rules/{rule_id}`

Updates a rule by action code and rule ID.

## Path parameters

- `action_code` string, required
- `rule_id` string, required

## Request body

- UpdateRuleBody
  - `name` string
  - `description` string
  - `isActive` boolean
  - `priority` integer
  - `type` 'ALLOW' | 'BLOCK' | 'CHALLENGE' | 'REVIEW'
  - `conditions` object
  - `verificationMethods` string[]
  - `promptToEnrollVerificationMethods` string[]
  - `defaultVerificationMethod` 'SMS' | 'AUTHENTICATOR_APP' | 'RECOVERY_CODE' | 'EMAIL_MAGIC_LINK' | 'EMAIL_OTP' | 'PUSH' | 'DEVICE' | 'SECURITY_KEY' | 'PASSKEY' | 'VERIFF' | 'IPROOV' | 'PALM_BIOMETRICS_RR'

## Response `200`

OK

- RuleResponseBody
  - `name` string
  - `description` string
  - `isActive` boolean
  - `priority` integer
  - `tenantId` string
  - `ruleId` string
  - `type` 'ALLOW' | 'BLOCK' | 'CHALLENGE' | 'REVIEW'
  - `conditions` object
  - `verificationMethods` string[]
  - `promptToEnrollVerificationMethods` string[]
  - `defaultVerificationMethod` 'SMS' | 'AUTHENTICATOR_APP' | 'RECOVERY_CODE' | 'EMAIL_MAGIC_LINK' | 'EMAIL_OTP' | 'PUSH' | 'DEVICE' | 'SECURITY_KEY' | 'PASSKEY' | 'VERIFF' | 'IPROOV' | 'PALM_BIOMETRICS_RR'

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

---

[API](https://skmtc.net/authsignal/apis/call-connect-api.md) · [All operations](https://skmtc.net/authsignal/apis/call-connect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/authsignal/call-connect-api/versions/5604d744e3ad/schema)
