---
title: "Update account_form_template by ID"
method: PATCH
path: "/api/v3/account/account_form_templates/{id}"
tags: ["account form templates"]
---

# Update account_form_template by ID

`PATCH /api/v3/account/account_form_templates/{id}`

## Path parameters

- `id` string, uuid, required

## Headers

- `Fieldwire-Version` string, date, required

## Request body

- AccountFormTemplateUpdateInput — Schema for updating account_form_templates
  - `last_editor_user_id` integer — ID of the user who most recently edited this entity
  - `name` string — Name of the template
  - `device_updated_at` string, date-time — Time when the device last updated the entity
  - `view_edit_permissions` 'assignee' | 'all_users' | 'null', nullable — View/edit permissions for the template, e.g. assignee, all_users. Consider using account_form_template_permissions instead.
  - `status_change_recipient_emails` string[], nullable — Receivers of email notification when form changes its status
  - `should_publish` boolean, nullable — Indication that the Account Form Template is published.

## Response `201`

Successful response

- AccountFormTemplate — Entity that denotes a template from which forms can be built
  - `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
  - `account_id` integer, required — ID of the account this entity belongs to
  - `is_generated` boolean, required — Whether this template is fully generated (in case cloning from another template)
  - `checksum` string, nullable — Checksum used for verifying whether all relevant information for an account form template is at hand
  - `name` string, required — Name of the template
  - `kind` 'default' | 'time_range' | 'single_day', required — Kind of the template
  - `version` integer, required — Version number of the Account Form Template. Publishing increases version. Starts at 0.
  - `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
  - `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
  - `resolved_conflict` boolean, nullable, required — Specifies if PUT/PATCH request was rejected - do not store this field!
  - `published_at` string, date-time, nullable — Time when the Form Template is published
  - `content_changed_at` string, date-time, nullable — Time at which this entity was changed across any of its child entities (contents)
  - `connected_form_templates_count` string, date-time, nullable — The number of form templates connected to this account form template
  - `updated_at` string, date-time, required — Time when the server last updated the entity
  - `view_edit_permissions` 'assignee' | 'all_users' | 'null', nullable — View/edit permissions for the template, e.g. assignee, all_users. Consider using account_form_template_permissions instead.
  - `form_type` 'default' | 'fillable_pdf', required — The type of form either custom fieldwire (default) or a fillable_pdf
  - `status_change_recipient_emails` string[], nullable — Receivers of email notification when form changes its status

---

[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)
