Run Internals

Release Petri Run

Ends the worker's writer lease on the run when owner still holds it: what a worker sends when it drops its store handle. A lease that already moved to another owner is left alone.

post/api/v1/runs/{id}/petri/release

Path parameters

idstring required

Unique run identifier (ULID).

Request body

ownerstring required

The owner id that holds the lease.

Example request

{
  "owner": "18f3c2a9e1b4-42017-0-9f3a1c7e2b5d"
}

Response

Lease released, or not held by this owner

Changes

Changed in 1 of the 172 revisions of this API.1