---
title: "Update HealthChecks"
method: PATCH
path: "/api/v2/ui/healthchecks/{id}/relationships/healthCheckAgents"
tags: ["HealthChecks"]
---

# Update HealthChecks

`PATCH /api/v2/ui/healthchecks/{id}/relationships/healthCheckAgents`

## Request

- Base URL: `https://docs.hashtopolis.org`
- URL: `https://docs.hashtopolis.org/api/v2/ui/healthchecks/{id}/relationships/healthCheckAgents`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/hashtopolis/apis/hashtopolis-api/docs/api/v2/ui/healthchecks/:id/relationships/healthCheckAgents/patch.ts> (a function with typed inputs; its response is checked against the schema)

PATCH request to update a to one relationship.

## Path parameters

- `id` integer, required

## Request body

- HealthCheckRelationHealthCheckAgents
  - `data` object[], required
    - `type` 'healthCheckAgent', required
    - `id` integer, required

## Response `204`

Successfull operation

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `403`: Permission denied
- `404`: Not Found
- `409`: Resource already exists

## Changes

- **2026-10-22** `559b0274a0c8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hashtopolis/apis/hashtopolis-api/changes/api/v2/ui/healthchecks/:id/relationships/healthCheckAgents/patch.md)

---

[API](https://skmtc.dev/hashtopolis/apis/hashtopolis-api.md) - [All operations](https://skmtc.dev/hashtopolis/apis/hashtopolis-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hashtopolis/apis/hashtopolis-api/revisions/fde7c323b9d9?raw)
