Skip to main content

delete_user

Function delete_user 

Source
pub fn delete_user(conn: &Connection, user_id: &str) -> Result<(), String>
Expand description

Deletes a user plus all their tokens and permissions. Returns Err if user_id belongs to the owner account.