---
title: "Updates a report's triage status (and optionally the triage note)."
method: PATCH
path: "/admin/map-issues/{id}"
tags: ["admin"]
---

# Updates a report's triage status (and optionally the triage note).

`PATCH /admin/map-issues/{id}`

## Request

- Base URL: `https://api.mapmap.ai`
- URL: `https://api.mapmap.ai/admin/map-issues/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- UpdateMapIssueRequest: Body for `PATCH /admin/map-issues/{id}`.
  - `admin_note` string, nullable: Triage note (trimmed, at most 1000 bytes). Omitted leaves the stored note unchanged.
  - `status` string, required: New triage status, one of the accepted statuses.

## Response `200`

The updated report

- MapIssueRecord: One stored report, as the admin triage list returns it.
  - `admin_note` string, nullable: Triage note, when set.
  - `category` string, required: Report category, one of [`CATEGORIES`].
  - `contact` string, nullable: Reporter's contact email, when given.
  - `created_at` string, required: RFC 3339 submission timestamp.
  - `heading_deg` number, double, nullable: Direction of travel in degrees clockwise from north, when the report carried one (always, for the `traffic-*` categories).
  - `id` string, required: Report id (UUID v4).
  - `key_id` string, nullable: API key id that submitted the report (the website proxy's demo key for anonymous web reports).
  - `lat` number, double, required: Latitude of the reported problem.
  - `lon` number, double, required: Longitude of the reported problem.
  - `note` string, nullable: Reporter's free-form note, when given.
  - `status` string, required: Triage status, one of [`STATUSES`].

## Other responses

- `400`: Unknown status or over-long admin note
- `401`: Missing or wrong admin token
- `404`: Unknown report id

---

[API](https://skmtc.dev/mapmap/apis/sn-gateway.md) · [All operations](https://skmtc.dev/mapmap/apis/sn-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/mapmap/apis/sn-gateway/revisions/2293be8b4c38?raw)
