v1beta
Double column
curl
API
CLI
API
CLI

POST /v1beta/projects/{project}/jobs/{job}/health-checks

Example request

request body

curl

curl --header "Content-Type: application/json" \
  --header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
  --request POST \
  --data '{"healthChecks":[{"protocol":"HTTPS","type":"readinessProbe","path":"/health-check","port":3000,"initialDelaySeconds":10,"periodSeconds":60,"timeoutSeconds":1,"failureThreshold":3,"successThreshold":1}]}' \
  https://api.northflank.com/v1beta/projects/{project}/jobs/{job}/health-checks

Example response

200 OK

success

© 2021 Northflank Ltd. All rights reserved.

TermsPrivacy

contact@northflank.com