vault

Abort an upload session (redact)

Abort is REDACTION: the session stops being finalizable, its reservation is released, and every object already stored under it is tombstoned so the reaper removes the bytes. Idempotent. A finalized session cannot be aborted.

delete/vaults/v1/{vault_id}/upload-sessions/{upload_session_id}

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/vaults/v1/{vault_id}/upload-sessions/{upload_session_id}
  • 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).

upload_session_idstring required

The session's id.

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

Session aborted

upload_session_idstring uuid
state'aborted'
tombstoned_objectsinteger
deduplicatedboolean

Changes

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