---
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
  - `link` string, nullable
  - `order` integer, nullable
  - `enabled` boolean
  - `component_group_id` integer, nullable

## Response `200`

`Component`

## Other responses

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

## Changes

- **2025-08-15** `5b3f1f21cf76` — 1 info
  - media type `application/json` was changed to a more specific media type `application/vnd.api+json` for the response status `200`
- **2025-06-02** `9ad32c73fe39` — 16 breaking, 3 warning
  - the response property `data/attributes/description` became nullable for the status `200`
  - the response property `data/attributes/link` became nullable for the status `200`
  - the response property `data/attributes/meta` became nullable for the status `200`
  - the response property `data/attributes/order` became nullable for the status `200`
  - …15 more
- **2025-05-29** `87e56b3f8fd7` — 3 warning
  - removed the optional property `data/relationships/group/data/attributes` from the response with the `200` status
  - removed the optional property `data/relationships/group/data/relationships` from the response with the `200` status
  - removed the optional property `data/relationships/incidents/data/items/relationships/user/data/attributes` from the response with the `200` status

[Change history](https://skmtc.dev/cachethq/apis/cachet/changes/components/:component/put.md)

---

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