---
title: "Update an agent role"
method: PATCH
path: "/api/v2/agent_roles/{id}"
tags: ["Agent Roles"]
---

# Update an agent role

`PATCH /api/v2/agent_roles/{id}`

Updates the permissions and access settings for the specified agent role.

## Path parameters

- `id` string, required

## Headers

- `X-Organization-Id` string, required

## Response `200`

Single role

## Other responses

- `422` — Returned when the update fails validation — for example, when required fields are missing or contain invalid values.

---

[API](https://skmtc.net/productive/apis/api-documentation.md) · [All operations](https://skmtc.net/productive/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/productive/api-documentation/versions/6bb0150a5c5f/schema)
