---
title: "Update a project permission definition"
method: PATCH
path: "/project-permission-definitions/{permission_id}"
tags: ["Permissions"]
---

# Update a project permission definition

`PATCH /project-permission-definitions/{permission_id}`

Update a project permission definition (the equivalent of updating a permission on the Hexclave dashboard)

## Path parameters

- `permission_id` string, required — The permission ID used to uniquely identify a permission. Can either be a custom permission with lowercase letters, numbers, `:`, and `_` characters, or one of the system permissions: `$update_team`, `$delete_team`, `$read_members`, `$remove_members`, `$invite_members`, `$manage_api_keys`

## Request body

- object
  - `id` string — The permission ID used to uniquely identify a permission. Can only contain lowercase letters, numbers, ":", and "_" characters
  - `description` string — A human-readable description of the permission
  - `contained_permission_ids` string[] — The IDs of the permissions that are contained in this permission

## Response `200`

Successful response

- object
  - `id` string, required — The permission ID used to uniquely identify a permission. Can either be a custom permission with lowercase letters, numbers, `:`, and `_` characters, or one of the system permissions: `$update_team`, `$delete_team`, `$read_members`, `$remove_members`, `$invite_members`, `$manage_api_keys`
  - `description` string — A human-readable description of the permission
  - `contained_permission_ids` string[], required — The IDs of the permissions that are contained in this permission

---

[API](https://skmtc.net/hexclave/apis/hexclave-rest-api-3.md) · [All operations](https://skmtc.net/hexclave/apis/hexclave-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hexclave/hexclave-rest-api-3/versions/690014f63028/schema)
