---
title: "Update report_template by ID"
method: PATCH
path: "/api/v3/projects/{project_id}/report_templates/{id}"
tags: ["report templates"]
---

# Update report_template by ID

`PATCH /api/v3/projects/{project_id}/report_templates/{id}`

## Path parameters

- `project_id` string, uuid, required
- `id` string, uuid, required

## Headers

- `Fieldwire-Version` string, date, required

## Request body

- ReportTemplateUpdateInput — Schema for updating report templates
  - `last_editor_user_id` integer — ID of the user who most recently edited this entity
  - `name` string — Name of the entity
  - `data` object, nullable — Payload of this report which carries information about how the report should be built & sent out
  - `device_updated_at` string, date-time — Time when the device last updated the entity

## Response `201`

Successful response

- ReportTemplate — Entity that carries settings for task reports
  - `id` string, uuid, required — ID of the entity
  - `creator_user_id` integer, required — ID of the user who created this entity
  - `last_editor_user_id` integer, required — ID of the user who most recently edited this entity
  - `user_id` integer, required — ID of the user who created this report
  - `project_id` string, uuid, required — ID of the project this entity belongs to
  - `name` string, required — Name of the entity
  - `data` object, nullable — Payload of this report which carries information about how the report should be built & sent out
  - `created_at` string, date-time, required — Time when the server created the entity
  - `deleted_at` string, date-time, nullable — Time the server deleted the entity
  - `resolved_conflict` boolean, nullable, required — Specifies if PUT/PATCH request was rejected - do not store this field!
  - `device_created_at` string, date-time, required — Time when the device created the entity
  - `device_updated_at` string, date-time, required — Time when the device last updated the entity
  - `updated_at` string, date-time, required — Time when the server last updated the entity

---

[API](https://skmtc.dev/fieldwire/apis/fieldwire-super-api.md) · [All operations](https://skmtc.dev/fieldwire/apis/fieldwire-super-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fieldwire/fieldwire-super-api/revisions/66ee1c20b92d/schema)
