---
title: "Update an organization role"
method: PATCH
path: "/organization_roles/{organization_role_id}"
tags: ["Organization Roles"]
---

# Update an organization role

`PATCH /organization_roles/{organization_role_id}`

Updates an existing organization role.
You can update the name, key, description, and permissions of the role.
All parameters are optional - you can update only the fields you want to change.
If the role is used as a creator role or domain default role, updating the key will cascade the update to the organization settings.

## Path parameters

- `organization_role_id` string, required

## Request body

- object
  - `name` string, nullable — The new name for the organization role
  - `key` string, nullable — A unique key for the organization role. Must start with 'org:' and contain only lowercase alphanumeric characters and underscores.
  - `description` string, nullable — Optional description for the role
  - `permissions` string[], nullable — Array of permission IDs to assign to the role. If provided, this will replace the existing permissions.

## Response `200`

Success

- Role
  - `object` 'role', required
  - `id` string, required
  - `name` string, required
  - `key` string, required
  - `description` string, nullable, required
  - `is_creator_eligible` boolean, required — Whether this role is eligible to be an organization creator role
  - `permissions` Permission[], required
    - `object` 'permission', required
    - `id` string, required
    - `name` string, required
    - `key` string, required
    - `description` string, required
    - `type` string, required
    - `created_at` integer, required — Unix timestamp of creation.
    - `updated_at` integer, required — Unix timestamp of last update.
  - `created_at` integer, required — Unix timestamp of creation.
  - `updated_at` integer, required — Unix timestamp of last update.

## Other responses

- `400` — Request was not successful
- `401` — Authentication invalid
- `403` — Authorization invalid
- `404` — Resource not found
- `422` — Invalid request parameters

---

[API](https://skmtc.net/clerk/apis/clerk-backend-api.md) · [All operations](https://skmtc.net/clerk/apis/clerk-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clerk/clerk-backend-api/revisions/75df3a43fcb2/schema)
