---
title: "Update a report's details"
method: PATCH
path: "/reports/{id}"
tags: ["Reports"]
---

# Update a report's details

`PATCH /reports/{id}`

**Requires permission:** *ReportAdmins*

Updates a report's name, academic year, year group, publish dates, hidden and sport-allocation flags (port of RPT_UpdateReport; the 'Year ' prefix is stripped from the year group).

## Path parameters

- `id` integer, required

## Request body

- UpdateReportRequest
  - `name` string, required
  - `academicYear` integer
  - `yearGroup` string, required
  - `publishToParents` string, date-time, required
  - `publishToStudents` string, date-time, required
  - `sportAllocation` boolean
  - `draft` boolean
  - `hidden` boolean
  - `total` integer
  - `complete` integer

## Response `204`

Success - Updated

## Other responses

- `400` — An Error Occurred - Could not update report
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/tonbridge/apis/tonbridge-app-api.md) · [All operations](https://skmtc.net/tonbridge/apis/tonbridge-app-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tonbridge/tonbridge-app-api/versions/fab57bf5558a/schema)
