$user->delete() Deletes the user users.delete kirby/src/Cms/UserActions.php#L279 $user->delete(): bool Return type bool Exceptions Type Description Kirby\Exception\LogicException Parent class Kirby\Cms\User Example try { $kirby->user('bastian@example.com')->delete(); echo 'The user has been deleted'; } catch(Exception $e) { echo 'The user could not be deleted'; // optional reason: echo $e->getMessage(); }