Payday

Patch Db Rule

Update a single payday rule in place.

The common edits — flipping a rule on or off, nudging an amount — used to go through the full PUT, which deletes and reinserts every rule the user has. This touches one row.

patch/api/payday/db-rules/{rule_id}

Request

  • Base URL: https://api.earmarkiq.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.earmarkiq.app/api/payday/db-rules/{rule_id}
  • Auth: HTTP bearer

Path parameters

rule_idstring required

Request body

amountnumber nullable
activeboolean nullable
timingstring nullable
timing_labelstring nullable
descriptionstring nullable
target_idstring nullable
target_labelstring nullable

Response

Successful Response

total_allocatednumber
remaining_after_rulesnumber

Changes

No recorded changes to this operation across all 2 revisions of this API.