vault

Declare the writer signing key unavailable (owner + step-up)

Owner + step-up (gitvault.rotate, protocol rev 42 D202). An explicit, audited, wire-visible fact for when the writer signing key is known to be gone — the platform cannot itself observe this without the declaration. Feeds the seven-state full-history-on-join bridge vocabulary's WRITER_AUTHORITY_UNAVAILABLE terminal. Idempotent: re-declaring re-stamps the latest declarer and timestamp.

post/vaults/v1/{vault_id}/writer-authority/declare-unavailable

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/vaults/v1/{vault_id}/writer-authority/declare-unavailable
  • 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).

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

The declaration, as stored

declared_atstring date-time
declared_bystring nullable

The declaring principal id, or null when declared by platform staff via an admin key.

Changes

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