---
title: "Update Report"
method: POST
path: "/print-mail/v1/reports/{id}"
tags: ["Reports"]
---

# Update Report

`POST /print-mail/v1/reports/{id}`

Update an existing saved report definition. You can change the query, description, or metadata.

## Path parameters

- `id` string, required

## Request body

- ReportUpdate — Model for updating an existing Report.
  - `sqlQuery` string — The SQL query defining the report.
  - `description` string, nullable — An optional user-friendly description for the report. Set to null to remove.
  - `metadata` object, nullable — Optional key-value metadata associated with the report. Set to null to remove.

## Response `200`

The updated Report object.

- Report — Represents a saved Report definition.
  - `id` string, required — Unique identifier for the report.
  - `object` 'report', required — Always `report`.
  - `live` boolean, required — Indicates if the report is associated with the live or test environment.
  - `sqlQuery` string, required — The SQL query defining the report.
  - `description` string — An optional user-friendly description for the report.
  - `metadata` object — Optional key-value metadata associated with the report.
  - `createdAt` string, date-time, required — Timestamp when the report was created.
  - `updatedAt` string, date-time, required — Timestamp when the report was last updated.

## Other responses

- `400` — The updated Report object.
- `401` — The updated Report object.
- `404` — The updated Report object.
- `422` — The updated Report object.
- `429` — The updated Report object.
- `500` — The updated Report object.

## Changes

- **2026-05-01** `c8fedcbd705e` — 4 warning, 2 info
  - added the new `internal_server_error` enum value to the `error/type` response property for the response status `500`
  - added the new `not_found_error` enum value to the `error/type` response property for the response status `404`
  - added the new `rate_limit_exceeded_error` enum value to the `error/type` response property for the response status `429`
  - added the new `validation_error` enum value to the `error/type` response property for the response status `400`
  - …2 more

[Change history](https://skmtc.dev/postgrid/apis/postgrid-address-verification-api/changes/print-mail/v1/reports/:id/post.md)

---

[API](https://skmtc.dev/postgrid/apis/postgrid-address-verification-api.md) · [All operations](https://skmtc.dev/postgrid/apis/postgrid-address-verification-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/postgrid/postgrid-address-verification-api/revisions/537d2bbc624a/schema)
