---
title: "Assign an incident"
method: POST
path: "/api/sre/incidents/{id}/assign"
tags: ["AI SRE"]
---

# Assign an incident

`POST /api/sre/incidents/{id}/assign`

## Request

- Base URL: `https://demo.supercheck.dev`
- URL: `https://demo.supercheck.dev/api/sre/incidents/{id}/assign`
- Auth: HTTP bearer

Sets the assignee, or the optional commander. The user must be an organization owner/admin or a project admin/editor of the active project. The new assignee is notified.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `assigneeUserId` string, uuid, nullable, required: User ID, or null to unassign.
  - `role` 'assignee' | 'commander'

## Response `200`

Assignment saved

## Other responses

- `400`: Invalid ID or the user cannot be assigned in this project
- `403`: Insufficient permission
- `404`: Incident not found in the active project

## Changes

- **2026-10-27** `4cc852288ddb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/supercheck-io/apis/supercheck-api/changes/api/sre/incidents/:id/assign/post.md)

---

[API](https://skmtc.dev/supercheck-io/apis/supercheck-api.md) - [All operations](https://skmtc.dev/supercheck-io/apis/supercheck-api/llms.txt) - [OpenAPI document](https://skmtc.dev/supercheck-io/apis/supercheck-api/revisions/7fa0162c07bd?raw)
