---
title: "Update procedure template row attachment"
method: PUT
path: "/proceduretemplaterows/{id}/attachments/{filename}"
tags: ["Procedure Template Rows"]
---

# Update procedure template row attachment

`PUT /proceduretemplaterows/{id}/attachments/{filename}`

## Path parameters

- `id` integer, required
- `filename` string, required

## Query parameters

- `skipWebhook` boolean

## Headers

- `x-organization-id` integer

## Response `201`

Successfully updated procedure template row's attachment.

- object
  - `publicUrl` string
  - `filename` string
  - `fileKey` string

## Other responses

- `400` — Bad arguments.
- `401` — Invalid token
- `404` — Could not find the specified procedure template row.
- `413` — Payload too large

---

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