vault

Close the compaction headroom grant (idempotent)

Idempotent close, called once a compaction's prune completes. {closed: true} when an active grant existed and was just closed; {closed: false} when there was none (already closed, already expired, or never opened) — Faithful, never a pretend close.

delete/vaults/v1/{vault_id}/compaction-grant

Request

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

Path parameters

vault_idstring required

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

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.

Response

Close outcome

closedboolean required

Changes

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