---
title: "Update a CI Relation Type by ID"
method: PATCH
path: "/cis/relation-types/{ciRelationTypeId}"
tags: ["CIs"]
---

# Update a CI Relation Type by ID

`PATCH /cis/relation-types/{ciRelationTypeId}`

Updates the CI relation type.
Note: Only custom CI relation types can be updated. Standard CI relation types can't be updated.

## Request body

- EditableCIRelationType
  - `relationType` string — Name of the direct CI relation type.
  - `oppositeRelationType` string — Name of the opposite CI relation type.

## Response `200`

The updated CI relation type.

- CIRelationType
  - `relationType` string, required — Name of the direct CI relation type.
  - `oppositeRelationType` string, required — Name of the opposite CI relation type.
  - `id` integer, required — The ID of the CI relation type.
  - `isStandard` boolean, required — Indicates whether the CI relation type is standard or custom.

## Other responses

- `400` — The request was invalid or cannot be served
- `401` — Authentication information is missing or invalid
- `404` — The specified resource was not found
- `409` — The request could not be completed due to a conflict with the current state of the resource. This typically occurs when attempting to create a duplicate resource, update a resource that has been modified by another process, or when business rules prevent the operation.

---

[API](https://skmtc.dev/sysaid/apis/sysaid-public-api.md) · [All operations](https://skmtc.dev/sysaid/apis/sysaid-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sysaid/sysaid-public-api/revisions/38a43a1b2981/schema)
