---
title: "Update an Incident Role"
method: PATCH
path: "/incident_metadata/roles/{id}"
tags: ["Incident Roles"]
---

# Update an Incident Role

`PATCH /incident_metadata/roles/{id}`

## Path parameters

- `id` string, required

## Request body

- UpdateIncidentRoleRequestBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `attributes` UpdateIncidentRoleAttributes, required
    - `archived` boolean
    - `description` string
    - `name` string
    - `required` boolean

## Response `200`

OK

- UpdateIncidentRoleResponseBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `data` IncidentRole, required
    - `attributes` IncidentRoleAttributes, required
      - `archived` boolean, required
      - `description` string, required
      - `name` string, required
      - `required` boolean, required
    - `id` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

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