---
title: "POST /api/v1/cert-manager/syncs/linux-server/test-health-check"
method: POST
path: "/api/v1/cert-manager/syncs/linux-server/test-health-check"
tags: ["PKI Syncs"]
---

# POST /api/v1/cert-manager/syncs/linux-server/test-health-check

`POST /api/v1/cert-manager/syncs/linux-server/test-health-check`

Run a health check command against a Linux Server host without saving it to a sync.

## Request body

- object
  - `connectionId` string, uuid, required
  - `applicationId` string, uuid
  - `syncId` string, uuid
  - `certificateIds` string[]
  - `destinationConfig` object, required
    - `destinationPath` string, required
  - `syncOptions` object, required
    - `canRemoveCertificates` boolean
    - `includeRootCa` boolean
    - `includePrivateKey` boolean
    - `exportFormat` 'pem' | 'pkcs12'
    - `pemCertificateExtension` 'pem' | 'crt'
    - `combineCertificateChain` boolean
    - `fileMode` string
    - `privateKeyFileMode` string
    - `owner` string
    - `group` string
    - `healthCheckCommand` string, nullable
    - `postSyncCommand` string, nullable
    - `certificateNameSchema` string

## Response `200`

Default Response

- object
  - `healthCheck` object, required
    - `status` 'pending' | 'running' | 'succeeded' | 'failed', required
    - `exitCode` number
    - `timedOut` boolean
    - `durationMs` number, required
    - `output` string
    - `failureDetail` string
    - `message` string

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response
- `422` — Default Response
- `500` — Default Response

## Changes

- **2026-08-27** `e15904efcbcd` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/infisical/apis/infisical-api/changes/api/v1/cert-manager/syncs/linux-server/test-health-check/post.md)

---

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