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

# PATCH /requests/rule-bindings/{uuid}/

`PATCH /requests/rule-bindings/{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

- PatchedRequestRuleBindingRequest — Mixin to validate that a valid enterprise license exists before allowing to save the object
  - `uuid` string, uuid
  - `policy_engine_mode` 'all' | 'any'
  - `rule` string, uuid
  - `target` string, uuid
  - `expiry_pending` string — How long a request against this binding stays pending before it automatically lapses if not approved or denied.
  - `expiry_granted_max` string — The maximum duration a grant approved against this binding can last.

## Response `200`

- RequestRuleBinding — 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'
  - `rule` string, uuid, required
  - `rule_obj` RequestRule, required — 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
  - `target` string, uuid, required
  - `related` string[], required
  - `related_obj` RelatedTarget[], required
    - `verbose_name` string, required — Return object's verbose_name
    - `verbose_name_plural` string, required — Return object's plural verbose_name
    - `meta_model_name` string, required — Return internal model name
    - `pbm_uuid` string, required
    - `label` string, required
  - `expiry_pending` string — How long a request against this binding stays pending before it automatically lapses if not approved or denied.
  - `expiry_granted_max` string — The maximum duration a grant approved against this binding can last.

## 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)
