vault

Renew the maintenance lease

Proves the holder still reaches the control plane. Requires ownership AND current validity: an expired lease can never be resurrected, and renewal can never move the hard deadline.

post/vaults/v1/{vault_id}/maintenance-leases/{maintenance_lease_id}/heartbeat

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/vaults/v1/{vault_id}/maintenance-leases/{maintenance_lease_id}/heartbeat
  • Auth: one of:
    • API key in header SIGN-IN-WITH-X
    • HTTP bearer

Path parameters

vault_idstring required

The vault id (src_<32 hex>); the wire field is repo_id (protocol D185).

maintenance_lease_idstring required

ml_<32 hex>.

Headers

SIGN-IN-WITH-Xstring required

SIWX auth header — base64-encoded JSON payload containing a signed CAIP-122 (EIP-4361) message. See https://docs.x402.org/extensions/sign-in-with-x.

Request body

holder_tokenstring required

Response

Lease renewed

maintenance_lease_idstring
expires_atstring date-time nullable

Changes

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