Delete an asset
Content Hub ONE uses a media management system (MMS) to upload assets and make them available for use in content. When a media item is deleted from Content Hub ONE, the corresponding asset file is deleted from the MMS. If you upload an asset in error, you can remove it from the MMS.
Note
The base URL for the Media upload API is https://mms-upload.sitecorecloud.io.
Use this method to delete an asset using the file ID that was created when generating the upload links.
RequestResponse
curl --location --request DELETE '<BASE_URL>/api/media/v1/upload/file/<FILE_ID>'
--header 'Authorization: <BEARER_TOKEN>'