---
title: "PATCH /requests/rules/{uuid}/"
method: PATCH
path: "/requests/rules/{uuid}/"
tags: ["requests"]
---

# PATCH /requests/rules/{uuid}/

`PATCH /requests/rules/{uuid}/`

Mixin to add a used_by endpoint to return a list of all objects using this object

## Path parameters

- `uuid` string, uuid, required

## Request body

- PatchedRequestRuleRequest — Mixin to validate that a valid enterprise license exists before allowing to save the object
  - `uuid` string, uuid
  - `policy_engine_mode` 'all' | 'any'
  - `name` string
  - `notification_transports` string[]
  - `notification_mode` 'all' | 'direct' | 'random_min_reviewers'
  - `min_reviewers` integer
  - `min_reviewers_is_per_group` boolean
  - `request_flow` string, uuid, nullable

## Response `200`

- RequestRule — Mixin to validate that a valid enterprise license exists before allowing to save the object
  - `uuid` string, uuid
  - `pbm_uuid` string, uuid, required
  - `policy_engine_mode` 'all' | 'any'
  - `name` string, required
  - `targets` string[], required
  - `notification_transports` string[]
  - `notification_mode` 'all' | 'direct' | 'random_min_reviewers'
  - `min_reviewers` integer
  - `min_reviewers_is_per_group` boolean
  - `request_flow` string, uuid, nullable

## Other responses

- `400`
- `403`

---

[API](https://skmtc.dev/goauthentik/apis/authentik.md) · [All operations](https://skmtc.dev/goauthentik/apis/authentik/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goauthentik/authentik/revisions/4e42e86021d7/schema)
