lock

LOCK: release a lock you hold, scoped to YOUR wallet.

LOCK: release a lock you hold, scoped to YOUR wallet. Pass the key + your token. Returns { released:true } only if your token matches (you can't release someone else's lock). Idempotent — releasing an already-gone lock returns released:false. Private to your wallet (the x402 payer).

post/api/lock/release

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/lock/release
  • Auth: API key in header PAYMENT-SIGNATURE

Request body

keystring required

The lock name.

tokenstring required

The token returned by lock.acquire.

Response

(unresolved $ref)

Changes

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