---
title: "Update Smartadvocate Case Status Rule"
method: PUT
path: "/smartadvocate/case-status-rules/{rule_id}"
tags: ["SmartAdvocate"]
---

# Update Smartadvocate Case Status Rule

`PUT /smartadvocate/case-status-rules/{rule_id}`

Update a case status routing rule. Omitted fields are unchanged.

## Path parameters

- `rule_id` string, uuid, required

## Request body

- SmartAdvocateCaseStatusRuleUpdateRequest — Update a case status routing rule. Omitted fields are unchanged. The status identity (sa_status_id / status_name / status_type_name) is immutable; delete and recreate to retarget a rule. Changing destination_kind requires supplying the matching target field.
  - `destination_kind` 'destination' | 'case_staff', nullable
  - `transfer_destination_id` string, uuid, nullable
  - `staff_role` string, nullable
  - `active` boolean, nullable

## Response `200`

Successful Response

- SmartAdvocateCaseStatusRuleResponse — One per-customer case status -> transfer destination routing rule
  - `smartadvocate_case_status_rule_id` string, uuid, required
  - `sa_status_id` integer, required
  - `status_name` string, required
  - `status_type_name` string, nullable — None = primary case status rule; otherwise the second-status type this rule matches within
  - `destination_kind` 'destination' | 'case_staff', required
  - `transfer_destination_id` string, uuid, nullable
  - `staff_role` string, nullable
  - `active` boolean, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/openintake/apis/fastapi.md) · [All operations](https://skmtc.dev/openintake/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openintake/fastapi/revisions/b642b91e0a5c/schema)
