---
title: "Assign Incident"
method: PATCH
path: "/api/v1/incidents/{incident_id}/assign"
tags: ["Incidents"]
---

# Assign Incident

`PATCH /api/v1/incidents/{incident_id}/assign`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/incidents/{incident_id}/assign`
- Auth: none declared

Assign or unassign an incident to a user.

## Path parameters

- `incident_id` string, uuid, required

## Headers

- `Authorization` string

## Request body

- AssignIncidentRequest: Request to assign or unassign an incident.
  - `assignee_id` integer, nullable: User ID to assign, or null to unassign

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
