Update a Routine's interval or enabled state

Session-gated; requires app:write on the routine's app. Re-enable is {enabled: true} — not a separate action. Re-enabling resets the consecutive-failure counter.

patch/api/v1/routines/{routineId}

Request

  • Base URL: https://charm.ing
  • URL: https://charm.ing/api/v1/routines/{routineId}
  • Auth: HTTP bearer

Request body

interval'hourly' | 'daily' | 'weekly'
enabledboolean

Response

Routine updated.

oktrue required

Changes

No recorded changes to this operation across all 1 revision of this API.