Method HIUGCDeleteVersion
HIUGCDeleteVersion(String, String, String, String)
Deletes a specific version of an asset.
Declaration
public System.Threading.Tasks.Task<Den.Dev.Grunt.Models.HaloApiResultContainer<bool,Den.Dev.Grunt.Models.RawResponseContainer>> HIUGCDeleteVersion (string title, string assetType, string assetId, string versionId);
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | title | Title which contains the asset. An example value here is "hi". |
| System.String | assetType | Type of asset to check. Example value is "UgcGameVariants". |
| System.String | assetId | Unique ID for the asset. Example value is "f96f57e2-9f15-45c5-83ac-5775a48d2ba8" for "Attrition-Default-UGC". |
| System.String | versionId | Unique ID for the version of the asset. Example value is "2674c887-7aa1-42ab-a6cd-4a2c60611d0e" for the "f96f57e2-9f15-45c5-83ac-5775a48d2ba8" asset. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<HaloApiResultContainer<System.Boolean,RawResponseContainer>> | If deletion is successful, returns true. Otherwise, returns false. |