---
title: "Update an App Studio Component."
method: PUT
path: "/client/components/{componentId}"
tags: ["Development API - Components"]
---

# Update an App Studio Component.

`PUT /client/components/{componentId}`

## Request

- Base URL: `https://api.tapcart.com`
- URL: `https://api.tapcart.com/client/components/{componentId}`
- Auth: HTTP bearer

Updates an existing app studio component. Requires write auth.

## Path parameters

- `componentId` string, required

## Request body

- object
  - `owner` object
    - `type` string: Owner type (e.g., 'app').
    - `id` string: Owner ID (required if owner type is 'app').
  - `label` string: The label of the Component.
  - `key` string: The key of the Component.
  - `code` string: The source code for the Component.
  - `transpiledCode` string: The transpiled code for the Component.
  - `manifestOptionsList` object[]: List of manifest options.
  - `forceUpdate` boolean: If true, forces an update on an existing Component.
  - `updateDescription` string: Description for the update.
  - `tags` string[]: Tags associated with the Component.
  - `status` string: Status of the Component.

## Response `200`

App Studio Component successfully created or updated.

## Other responses

- `400`: Bad request, including missing required fields.
- `401`: Unauthorized access.
- `404`: App Studio Component not found when force updating.
- `500`: Internal server error.

---

[API](https://skmtc.dev/tapcart/apis/tapcart-tapcart-app-pages-api.md) - [All operations](https://skmtc.dev/tapcart/apis/tapcart-tapcart-app-pages-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tapcart/apis/tapcart-tapcart-app-pages-api/revisions/4b5a76199cc4?raw)
