---
title: "PATCH /rules"
method: PATCH
path: "/rules"
tags: ["rules"]
---

# PATCH /rules

`PATCH /rules`

## Query parameters

- `created_at` string, timestamp with time zone
- `product_id` string, text
- `members_allowed` string, smallint
- `id` string, uuid

## Headers

- `Prefer` 'return=representation' | 'return=minimal' | 'return=none'

## Request body

- Rules
  - `created_at` string, timestamp with time zone, required
  - `product_id` string, text, required — Note: This is a Foreign Key to `products.id`.<fk table='products' column='id'/>
  - `members_allowed` integer, required
  - `id` string, uuid, required — Note: This is a Primary Key.<pk/>

## Response `204`

No Content

---

[API](https://skmtc.net/revent-app/apis/standard-public-schema.md) · [All operations](https://skmtc.net/revent-app/apis/standard-public-schema/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/revent-app/standard-public-schema/revisions/90ce877204f2/schema)
