unsafeDelete

abstract suspend fun <T : Any> unsafeDelete(context: C, id: ModelID<T>)

Deletes a model without using a state machine. This is an 'escape hatch', and should be used only as a last resort. No validation and no authorization rules will be applied.

The setting allowUnsafeOperations must be enabled in order to use this.