---
title: "Assign an Incident Role"
method: POST
path: "/incidents/{id}/role-assignments"
tags: ["Incidents"]
---

# Assign an Incident Role

`POST /incidents/{id}/role-assignments`

## Request

- Base URL: `/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v1/incidents/{id}/role-assignments`
- Auth: one of:
  - `app-cookie` (defined in the document in a form this page cannot read)
  - HTTP bearer

## Path parameters

- `id` string, required

## Request body

- CreateIncidentRoleAssignmentRequestBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `attributes` CreateIncidentRoleAssignmentAttributes, required
    - `roleId` string, required
    - `userId` string, required

## Response `204`

No Content

## Other responses

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

## Changes

- **2026-10-24** (v1) `8ade2eed962f`: 1 breaking, 1 info
  - removed the success response with the status `200`
  - added the success response with the status `204`
- **2026-10-08** (v1) `cb157444a05c`: 6 info
  - added the required property `code` to the response with the `400` status
  - added the required property `code` to the response with the `401` status
  - added the required property `code` to the response with the `403` status
  - added the required property `code` to the response with the `404` status
  - …2 more
- **2026-09-30** (v1) `057f72ecb6fb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rezible/apis/rezible-api/changes/incidents/:id/role-assignments/post.md)

---

[API](https://skmtc.dev/rezible/apis/rezible-api.md) - [All operations](https://skmtc.dev/rezible/apis/rezible-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rezible/apis/rezible-api/revisions/8ade2eed962f?raw)
