---
title: "Update Resolved Status"
method: POST
path: "/v1/inspect/analyze/{test_id}/resolve/{id}"
tags: ["Code Analysis"]
---

# Update Resolved Status

`POST /v1/inspect/analyze/{test_id}/resolve/{id}`

## Request

- Base URL: `https://api.mailgun.net`
- URL: `https://api.mailgun.net/v1/inspect/analyze/{test_id}/resolve/{id}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/mailgun/apis/email-preview-api/docs/v1/inspect/analyze/:test_id/resolve/:id/post.ts> (a function with typed inputs; its response is checked against the schema)

Updates the resolved status of a specific instance within a feature in the latest version of a test.

## Path parameters

- `test_id` string, required
- `id` string, required

## Request body

- GithubComMailgunInspectInternalCodeanalysisResolveRequest
  - `resolved` boolean, required: Boolean flag indicating whether the issue has been resolved

## Response `200`

A 200 response

- GithubComMailgunInspectInternalCodeanalysisTestResultResponse
  - `meta` object, nullable: Metadata including status and counts and support statistics
  - `items` GithubComMailgunInspectInternalCodeanalysisTestResultItem, required
    - `id` string, required: Unique identifier for the test
    - `version` integer, required: Version number of this test result
    - `features` GithubComMailgunInspectInternalCodeanalysisMatchedResult[], required: List of email features detected in the analyzed HTML
      - `slug` string: URL-friendly identifier for this feature
      - `name` string: Name of the email feature
      - `description` string, nullable: Detailed information about what this email feature does
      - `category` string: Machine-readable category code that groups related features
      - `notes_lookup` object: Maps note reference IDs to their corresponding implementation notes
      - `instances` GithubComMailgunInspectInternalCodeanalysisInstance[], required
        - `id` string, required: Unique identifier for this instance of the feature in the HTML
        - `line` integer, required: Line number where the feature was found in the HTML source
        - `column` integer, required: Column number where the feature was found in the HTML source
        - `resolved` boolean, nullable: Whether this specific instance has been resolved
      - `support` GithubComMailgunInspectInternalCodeanalysisSupport, required
        - `y` GithubComMailgunInspectInternalCodeanalysisVariantReference[]: Email clients that fully support this feature
          - `id` string, required: Unique identifier for the email client variant (references dictionary variants)
          - `notes` string[]: Additional implementation notes or caveats for this client
        - `a` GithubComMailgunInspectInternalCodeanalysisVariantReference[]: Email clients that partially support this feature
          - `id` string, required: Unique identifier for the email client variant (references dictionary variants)
          - `notes` string[]: Additional implementation notes or caveats for this client
        - `n` GithubComMailgunInspectInternalCodeanalysisVariantReference[]: Email clients that do not support this feature
          - `id` string, required: Unique identifier for the email client variant (references dictionary variants)
          - `notes` string[]: Additional implementation notes or caveats for this client
        - `u` GithubComMailgunInspectInternalCodeanalysisVariantReference[]: Email clients with unknown support for this feature
          - `id` string, required: Unique identifier for the email client variant (references dictionary variants)
          - `notes` string[]: Additional implementation notes or caveats for this client

## Other responses

- `400`: A 400 response
- `401`: A 401 response
- `404`: A 404 response

---

[API](https://skmtc.dev/mailgun/apis/email-preview-api.md) - [All operations](https://skmtc.dev/mailgun/apis/email-preview-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mailgun/apis/email-preview-api/revisions/c8a18f02bc8b?raw)
