/Engine/Source/Editor/UnrealEd/Public/Subsystems/EditorAssetSubsystem.h
Delete the package an asset is in. All objects in the package will be deleted. This is a Force Delete. It does not check if the asset has references in other Levels or by Actors. It will close all the asset editors and may clear the Transaction buffer (Undo History). Will try to mark the file as deleted. The Asset will be loaded before being deleted.
True if the operation succeeds.
bool DeleteAsset ( const [FString](API\Runtime\Core\Containers\FString) & AssetPathToDelete )