---
title: "Update Transform"
method: PUT
path: "/modules/{moduleId}/transforms/{transformName}"
tags: ["Transforms"]
---

# Update Transform

`PUT /modules/{moduleId}/transforms/{transformName}`

## Request

- Base URL: `https://env.unqork.io/api/1.0`
- URL: `https://env.unqork.io/api/1.0/modules/{moduleId}/transforms/{transformName}`
- Auth: OAuth 2
  - Client credentials
  - Password
  - Token URL: `https://xyzfinancial.unqork.io/api/1.0/oauth2/access_token`
- TypeScript: <https://skmtc.dev/unqork/apis/unqork-customer-api/docs/modules/:moduleId/transforms/:transformName/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates a single transform.
### Authorization Required:
  - Application Update

## Path parameters

- `moduleId` string, required
- `transformName` string, required

## Request body

- TransformPut
  - `name` string, required: Can only contain alphanumerics and hyphens
  - `type` 'njk-xml' | 'njk-pdf' | 'njk-txt' | 'njk' | 'xsl'
  - `io` 'in' | 'out'
  - `template` string

## Response `200`

Transform updated

- TransformResponse
  - `name` string, required
  - `moduleId` string, required
  - `type` 'njk-xml' | 'njk-pdf' | 'njk' | 'xsl', required
  - `io` 'in' | 'out', required
  - `template` string

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/unqork/apis/unqork-customer-api.md) - [All operations](https://skmtc.dev/unqork/apis/unqork-customer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unqork/apis/unqork-customer-api/revisions/13dad4096373?raw)
