delete

abstract suspend fun delete(keyId: String): Result<Unit>

Removes a stored keyshare. After this call completes the supplied keyId is no longer resolvable through the SDK's operations.

Implementation detail: the SDK writes a ReconcileStoreDao with both currentKeyshare and stagedKeyshare set to null into the owned StorageClient.

Return

Result.success on successful storage write, Result.failure if the storage operation throws.

Parameters

keyId

Hex-encoded keyId of the keyshare to remove.