---
title: "Update a component"
method: PUT
path: "/v1/design_studio/components/{id}"
tags: ["Design Studio"]
---

# Update a component

`PUT /v1/design_studio/components/{id}`

Update part of a component: its name, tag, folder, or content.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `name` string — Display name of the component. You see this on your Design Studio dashboard. This may be different from the component tag name.
  - `tag` string — The component tag name, used to reference your component in an email. Learn what [characters](/journeys/design-studio/reusable/components/code-custom-component/#component-tag-name-validation) you can use.
  - `parent_folder_id` string, uuid, nullable — The UUID of the parent folder. Omit if you want no change to where the folder or file is located. Include `null` to move it to your root directory. Or add the UUID of another folder to move it there.
  - `content` string — HTML content

## Response `204`

Component updated

## Other responses

- `400` — Bad request. Possible reasons: - No fields provided - Invalid name - Invalid tag - parent_folder_id is an empty string - Unknown JSON field in request body
- `401` — Unauthorized - missing or invalid API key
- `404` — Resource not found
- `409` — Conflict - linked resource or other constraint violation

---

[API](https://skmtc.dev/customer/apis/customer-io-journeys-api-reference.md) · [All operations](https://skmtc.dev/customer/apis/customer-io-journeys-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/customer/customer-io-journeys-api-reference/revisions/4b391af7cb06/schema)
