---
title: "Update Component"
method: PUT
path: "/components/{component}"
tags: ["Components"]
---

# Update Component

`PUT /components/{component}`

## Path parameters

- `component` integer, required

## Request body

- UpdateComponentRequestData
  - `name` string, nullable
  - `description` string, nullable
  - `status` 1 | 2 | 3 | 4 | 5 | 6
  - `link` string, uri, nullable
  - `order` integer, nullable
  - `enabled` boolean, nullable
  - `component_group_id` integer, nullable
  - `meta` object, nullable

## Response `200`

`Component`

## Other responses

- `401` — Unauthenticated
- `403` — Authorization error
- `404` — Not found
- `422` — Validation error

---

[API](https://skmtc.net/cachethq/apis/cachet.md) · [All operations](https://skmtc.net/cachethq/apis/cachet/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cachethq/cachet/revisions/1cae90969eb9/schema)
