---
title: "PATCH /rbac/permission_checks/{check_uuid}/"
method: PATCH
path: "/rbac/permission_checks/{check_uuid}/"
tags: ["rbac"]
---

# PATCH /rbac/permission_checks/{check_uuid}/

`PATCH /rbac/permission_checks/{check_uuid}/`

## Request

- Base URL: `https://api.goauthentik.io/api/v3`
- URL: `https://api.goauthentik.io/api/v3/rbac/permission_checks/{check_uuid}/`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/goauthentik/apis/authentik/docs/rbac/permission_checks/:check_uuid/patch.ts> (a function with typed inputs; its response is checked against the schema)

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

## Path parameters

- `check_uuid` string, uuid, required

## Request body

- PatchedPermissionCheckRequest
  - `name` string
  - `expression` string
  - `endpoints` string[]

## Response `200`

- PermissionCheck
  - `pk` string, uuid, required
  - `name` string, required
  - `expression` string, required
  - `endpoints` string[], required
  - `unknown_endpoints` string[], required
  - `unknown_fields` object, required

## Other responses

- `400`
- `403`

## Changes

- **2026-11-03** `3a1399fb535d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/goauthentik/apis/authentik/changes/rbac/permission_checks/:check_uuid/patch.md)

---

[API](https://skmtc.dev/goauthentik/apis/authentik.md) - [All operations](https://skmtc.dev/goauthentik/apis/authentik/llms.txt) - [OpenAPI document](https://skmtc.dev/goauthentik/apis/authentik/revisions/536208a3af61?raw)
