API reference
API reference
Select your platform
No SDKs available
No versions available

AssetFileDeleteResult

Updated: Oct 30, 2025

AssetFileDeleteResult

interface AssetFileDeleteResult
An AssetFileDeleteResult contains the result of a deleted asset file. You can delete an asset file by using horizon.platform.assetfile.AssetFile.deleteById or horizon.platform.assetfile.AssetFile.deleteByName. The delete result contains the horizon.platform.assetfile.models.AssetFileDeleteResult.assetId, the file path, and the success status of the deleted asset.

Properties

NameSummary
assetFileId
abstract val assetFileId: String
The API has been deprecated. Please use AssetFileDeleteResult.asset_id instead.
assetId
abstract val assetId: String
This represents the ID of the asset file. When you want to use horizon.platform.assetfile.models.AssetFileDeleteResult.assetFileId, you need to use horizon.platform.assetfile.models.AssetFileDeleteResult.assetId instead. It can be retrieved using horizon.platform.assetfile.models.AssetDetails.assetId.
filepath
abstract val filepath: String
File path of the asset file.
json
open val json: String
success
abstract val success: Boolean
You can use this to determine whether deleting an asset file was successful or not.