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

## Response `200`

`Component`

## Other responses

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

## Changes

- **2026-07-10** `4e4308be5bcf` — 17 breaking, 7 warning, 4 info
  - the request property `status` became not nullable
  - removed the enum value `1` of the request property `status`
  - removed the enum value `2` of the request property `status`
  - removed the enum value `3` of the request property `status`
  - …24 more
- **2026-06-26** `b7fcc33d06e5` — 3 breaking, 7 info
  - removed `#/components/schemas/ComponentStatusEnum, subschema #2` from the `status` request property `anyOf` list
  - request property `status` was restricted to a list of enum values
  - the `status` request property type/format changed from ``/`` to `string, null`/``
  - the request property `status` became nullable
  - …6 more
- **2025-12-02** `b912f4471de4` — 2 info
  - added the non-success response with the status `403`
  - added the optional property `data/attributes/pivot` to the response with the `200` status
- **2025-08-25** `c7bc597b862d` — 3 breaking, 2 warning, 1 info
  - the `data/relationships/group/data` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - removed the required property `data/relationships/group/data/id` from the response with the `200` status
  - removed the required property `data/relationships/group/data/type` from the response with the `200` status
  - removed the optional property `data/relationships/incidents/data/items/attributes` from the response with the `200` status
  - …2 more
- …earlier changes not shown

[Full 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/4e4308be5bcf/schema)
