---
title: "Update job health checks"
method: POST
path: "/v1/projects/{projectId}/jobs/{jobId}/health-checks"
tags: ["Jobs", "project"]
deprecated: true
---

# Update job health checks

`POST /v1/projects/{projectId}/jobs/{jobId}/health-checks`

## Request

- Base URL: `https://placeholder/v1`
- URL: `https://placeholder/v1/v1/projects/{projectId}/jobs/{jobId}/health-checks`
- Auth: none required

> **Deprecated.**

Updates health checks for the given job.

## Path parameters

- `projectId` string, required: ID of the project
- `jobId` string, required: ID of the job

## Request body

- object
  - `healthChecks` object[], required: An array of health checks.
    - `protocol` 'HTTP' | 'CMD' | 'TCP', required: The protocol to access the health check with.
    - `type` 'livenessProbe' | 'readinessProbe' | 'startupProbe', required: The type of health check.
    - `path` string: The path of the health check endpoint. Required when protocol is HTTP.
    - `cmd` string: The command to run for the health check. Required when protocol is CMD
    - `port` integer: Port number for the health check endpoint. Required when protocol is HTTP.
    - `initialDelaySeconds` integer, required: Initial delay, in seconds, before the health check is first run.
    - `periodSeconds` integer, required: The time between each check, in seconds.
    - `timeoutSeconds` integer, required: The time to wait for a response before marking the health check as a failure.
    - `failureThreshold` integer, required: The maximum number of allowed failures.
    - `successThreshold` integer: The number of successes required to mark the health check as a success.

## Response `200`

The operation was performed successfully.

## Changes

- **2026-11-06** `503a425aa44f`: 2 breaking, 2 warning, 2 info
  - removed the request body
  - removed the success response with the status `200`
  - deleted the `path` request parameter `jobId`
  - deleted the `path` request parameter `projectId`
  - …2 more

[Operation history](https://skmtc.dev/northflank/apis/northflank-api/changes/v1/projects/:projectId/jobs/:jobId/health-checks/post.md)

---

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