---
title: "Update an existing export file template"
method: POST
path: "/api/v4/f/{firm_id}/export_files/{id}"
tags: ["Templates"]
---

# Update an existing export file template

`POST /api/v4/f/{firm_id}/export_files/{id}`

Update an existing export file template. <br>
<b>Required scope(s):</b> `administration:write`

## Path parameters

- `firm_id` integer, required
- `id` integer, required

## Headers

- `Accept` string

## Request body

- union
  - ExportFileTemplateNew
    - `name` string, required
    - `name_nl` string
    - `name_en` string
    - `name_fr` string
    - `name_de` string
    - `name_da` string
    - `name_se` string
    - `file_name` string, required
    - `enconding` string
    - `externally_managed` boolean — When this value is set to true the shared parts are not allowed to be edited via the web interface, only via API.
    - `text` string
    - `text_parts` TextPart[]
      - `name` string, required
      - `content` string, required
  - ExportFileTemplateNewWithLocale
    - `name` string
    - `name_nl` string, required
    - `name_en` string
    - `name_fr` string
    - `name_de` string
    - `name_da` string
    - `name_se` string
    - `file_name` string, required
    - `enconding` string
    - `externally_managed` boolean — When this value is set to true the shared parts are not allowed to be edited via the web interface, only via API.
    - `text` string
    - `text_parts` TextPart[]
      - `name` string, required
      - `content` string, required

## Response `201`

Successful response

- ExportFileTemplate
  - `id` integer
  - `marketplace_template_id` integer
  - `name` string, required
  - `name_nl` string
  - `name_en` string
  - `name_fr` string
  - `name_de` string
  - `name_da` string
  - `name_se` string
  - `file_name` string, required
  - `enconding` string
  - `externally_managed` boolean — When this value is set to true the shared parts are not allowed to be edited via the web interface, only via API.
  - `text` string
  - `text_parts` TextPart[]
    - `name` string, required
    - `content` string, required

---

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