Skip to main content

Renew every open member's task lease (LeaseTogether)

POST 

/work-batches/:batchId/lease-renewals

The batch's lease is the union of its open members' task leases (ADR 0063's LeaseTogether policy): one call renews every still-open stop, so later stops of a long walk cannot expire mid-walk. Completed members are not renewed; detached members are gone (the sweep already returned them to the pool).

Request​

Responses​

Every open member's lease was renewed.

Response Headers
    Idempotency-Replayed

    Present, with the value true, ONLY when this answer is the stored replay of an earlier request that used the same Idempotency-Key (the handler did not run again). The first execution never carries it.