---
title: "Update role permission"
method: PUT
path: "/app/v1/roles/{role_id}/permissions"
tags: ["roles"]
---

# Update role permission

`PUT /app/v1/roles/{role_id}/permissions`

## Path parameters

- `role_id` string, uuid, required

## Request body

- PermissionInput[]
  - `name` string
  - `active` boolean
  - `filter` object — A filter object for Permission where it can filter based on any of these following fields. Name can be substring matched. All other values are exact matched.

## Response `200`

A successful operation

- object[]
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `created_by` string, uuid
  - `updated_by` string, uuid
  - `name` string
  - `active` boolean
  - `filter` object — A filter object for Permission where it can filter based on any of these following fields. Name can be substring matched. All other values are exact matched.
  - `company_id` string, uuid
  - `role_id` string, uuid

---

[API](https://skmtc.net/validere/apis/carbonhub-api.md) · [All operations](https://skmtc.net/validere/apis/carbonhub-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/validere/carbonhub-api/revisions/053edab62415/schema)
