---
title: "Update Rule"
method: PUT
path: "/v1/projects/{project_id}/data-prep/rules/{rule_id}"
tags: ["Data Prep"]
---

# Update Rule

`PUT /v1/projects/{project_id}/data-prep/rules/{rule_id}`

## Request

- Base URL: `https://spss.insightgenius.io` (the document declares no server; this is the origin it was published from)
- URL: `https://spss.insightgenius.io/v1/projects/{project_id}/data-prep/rules/{rule_id}`
- Auth: none declared

## Path parameters

- `project_id` string, uuid, required
- `rule_id` string, uuid, required

## Request body

- DataPrepRuleUpdate
  - `name` string, nullable
  - `description` string, nullable
  - `config` object, nullable
  - `is_active` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/insightgenius/apis/spss-insightgenius-api.md) · [All operations](https://skmtc.dev/insightgenius/apis/spss-insightgenius-api/llms.txt) · [OpenAPI document](https://skmtc.dev/insightgenius/apis/spss-insightgenius-api/revisions/0d165df595f0?raw)
