Update a scheduled job
Changes name, timing, signing, group, client or metadata settings.
PATCH https://app.upfour.io/v1/heartbeats/{heartbeatID}
Parameters
| Field | Type | Description |
|---|---|---|
heartbeatID required | uuid | path parameter |
Body
namestringrequired
In the app: Name
All other fields7 fields
client_iduuid · nullable
In the app: Client
enable_signingboolean
expected_interval_secondsinteger
In the app: Expect a check-in every
grace_period_secondsinteger
In the app: with a grace period of
heartbeat_group_iduuid · nullable
In the app: Group
metadatamap of stringmax 100 keyseach value max length 4096
On update, omitted or null leaves the stored metadata unchanged, {} removes all keys and any other object replaces them.
In the app: Metadata
signing_secretstring · nullable
With enable_signing and no secret, up4 generates one.
Returns
A successful request returns 200 with application/json.
Response fields 1 top-level fields
| Field | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data | Heartbeat | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Heartbeat · 26 fields
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Errors
Only the errors this operation can return. Every error uses the same envelope.
| Status | Code | Meaning |
|---|---|---|
| 400 | bad_request | The request is malformed or fails validation. |
| 404 | not_found | The requested resource does not exist or is outside the caller's scope. |
| 403 | permission_denied | The credentials do not permit this action. |
Every call can also return unauthorized (401), rate_limit_exceeded (429) or internal_error (500 / 502). See Responses and errors.