---
title: "PUT /api/ee/transforms-python/library/{path}"
method: PUT
path: "/api/ee/transforms-python/library/{path}"
tags: ["/api/ee/transforms-python"]
---

# PUT /api/ee/transforms-python/library/{path}

`PUT /api/ee/transforms-python/library/{path}`

Update the Python library source code for user modules.

## Path parameters

- `path` string, required

## Request body

- object
  - `source` string, required

## Response `2XX`

Successful response

## Other responses

- `4XX` — Client error response
- `5XX` — Server error response

## Changes

- **2026-03-09** `78297d193ca4` — 1 info
  - api operation id `put-api-ee-transforms-python-library-path` was added

[Change history](https://skmtc.dev/metabase/apis/metabase-api/changes/api/ee/transforms-python/library/:path/put.md)

---

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