---
title: "Update Procedure Template"
method: PATCH
path: "/proceduretemplates/{id}"
tags: ["Procedure Templates"]
---

# Update Procedure Template

`PATCH /proceduretemplates/{id}`

## Path parameters

- `id` integer, required

## Query parameters

- `skipWebhook` boolean

## Request body

- object
  - `title` string — Title of the procedure template
  - `description` string, nullable — Description of the procedure template
  - `fields` union[]
    - union
      - object — Adds a new row to the template
        - `label` string, required
        - `type` 'NUMBER' | 'AMOUNT' | 'TEXT' | 'UNSUPPORTED' | 'HEADING' | 'FILE' | 'SIGNATURE' | 'MULTIPLE_CHOICE' | 'INSPECTION_CHECK' | 'YES_NO_NA' | 'CHECKBOX' | 'CHECKLIST' | 'METER' | 'DATE' | 'CYCLE_COUNT', required
        - `description` string, nullable
        - `choices` string[]
        - `urls` object[]
          - `label` string — Label of the url
          - `link` string, required — Link
        - `meterId` number, nullable — Id of the meter
        - `isDateAndTime` boolean — Indicate if a DATE field also contains the time
        - `index` number — Order which the row is displayed
      - object — Modify existing rows of the template
        - `id` number, required — Id of an existing row
        - `label` string
        - `type` 'NUMBER' | 'AMOUNT' | 'TEXT' | 'UNSUPPORTED' | 'HEADING' | 'FILE' | 'SIGNATURE' | 'MULTIPLE_CHOICE' | 'INSPECTION_CHECK' | 'YES_NO_NA' | 'CHECKBOX' | 'CHECKLIST' | 'METER' | 'DATE' | 'CYCLE_COUNT'
        - `description` string, nullable
        - `choices` string[]
        - `urls` object[]
          - `label` string — Label of the url
          - `link` string, required — Link
        - `meterId` number, nullable — Id of the meter
        - `isDateAndTime` boolean — Indicate if a DATE field also contains the time
        - `index` number — Order which the row is displayed

## Response `204`

Successfully edited the procedure template

## Other responses

- `400` — Bad request
- `401` — Invalid token
- `404` — Could not find the specified procedure template.

---

[API](https://skmtc.net/getmaintainx/apis/maintainx-api.md) · [All operations](https://skmtc.net/getmaintainx/apis/maintainx-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getmaintainx/maintainx-api/revisions/ef9153fcac7c/schema)
