deleteEventsByUserId

suspend fun deleteEventsByUserId(userId: String): Int

Deprecated

Removes chain links without recording the erase. Use DataRightsManager.deleteUserData, which keeps the chain verifiable.

Delete all events for a specific user.

Removes chain links: verifyChainIntegrity reports Broken for a chain that contains deleted rows, and deleting the row at the last acknowledged checkpoint makes a pinning server report the next checkpoint as Forked.

Since

0.5.0