> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allium.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Update transform

> Updates a single transform by UID and redeploys the pipeline.

```
PATCH /api/v1/beam/{config_id}/transforms/{transform_uid}
```

Updates one transform by its UID. The pipeline is automatically redeployed after the update.

**Path parameters:**

| Parameter       | Description                    |
| :-------------- | :----------------------------- |
| `config_id`     | Pipeline configuration ID      |
| `transform_uid` | UID of the transform to update |

**Request body:** [`BeamTransformerConfig`](/beam/api-reference/configuration#transforms)

<Tabs>
  <Tab title="V8 JavaScript">
    ```bash theme={null}
    curl -X PATCH https://api.allium.so/api/v1/beam/${CONFIG_ID}/transforms/${TRANSFORM_UID} \
      -H "X-API-Key: ${ALLIUM_API_KEY}" \
      -H "Content-Type: application/json" \
      -d '{
        "type": "v8",
        "script": "function transform(record) { record.parsed = true; return record; }"
      }'
    ```
  </Tab>

  <Tab title="Redis set filter">
    ```bash theme={null}
    curl -X PATCH https://api.allium.so/api/v1/beam/${CONFIG_ID}/transforms/${TRANSFORM_UID} \
      -H "X-API-Key: ${ALLIUM_API_KEY}" \
      -H "Content-Type: application/json" \
      -d '{
        "type": "redis_set_filter",
        "filter_expr": "root = this.address"
      }'
    ```
  </Tab>
</Tabs>

**Response:** The updated [`BeamTransformerConfig`](/beam/api-reference/configuration#transforms) object.
