Skip to main content
POST
Release a host's claim on a work item

Authorizations

X-Outerlayer-App-Id
string
header
required

Factory id the request is scoped to.

Authorization
string
header
required

API key (sk_outerlayer_*)

Headers

Signature
string

HTTP Message Signature (RFC 9421) made with the runner key's host key: runner=:<base64>:.

Signature-Input
string

The signature's covered components and parameters: runner=("@method" "@path" "@query" "content-digest");created=<unix seconds>;nonce="<random>";keyid="<host key fingerprint>";alg="ed25519".

Content-Digest
string

RFC 9530 digest of the request body, always sent, including for a request with none: sha-256=:<base64>:.

Path Parameters

workItemId
string
required

Body

application/json
host
string
required
Required string length: 1 - 255
environment
object
exitCode
integer
Required range: -2147483648 <= x <= 2147483647
outcome
enum<string>
Available options:
ok,
incomplete,
failed,
timed_out,
idle,
lease_lost,
interrupted,
stopped
reason
string
Maximum string length: 200
stage
enum<string>
Available options:
provision,
command,
sync,
cleanup,
report

Response

The lease is released (now, or already).

data
object
required