Vana SDK - v4.1.0
    Preparing search index...

    Function deleteDataPoint

    • Delete a data point end to end. Symmetric with registerDataPoint.

      Order, deliberately:

      1. fetch the current version from the gateway (unless supplied),
      2. sign the tombstone AddData for current + 1,
      3. DELETE /v1/data/:dataPointId on the gateway,
      4. delete every blob under (owner, scope) in vana-storage.

      Steps 1-3 throw on failure (DataPointNotFoundError, DataPointDeletedError, DataPointVersionConflictError, or a generic gateway error). A step-4 failure does NOT throw: the tombstone is already the durable fact, so the result comes back with status: "partial" and the storage error attached.

      Parameters

      • input: DeleteDataPointInput

      Returns Promise<DataPointDeletionResult>