Deletes a specific media file (e.g., audio, artwork) associated with an asset.
Required Permissions:
Note: This operation permanently removes the media file from both storage and the assetās media array.
curl --request DELETE \
--url https://server26-dot-royalti-project.uc.r.appspot.com/asset/{id}/media/{mediaName} \
--header 'Authorization: Bearer <token>'
{
"message": "Media deleted successfully"
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
The unique identifier of the asset
The name of the media file to delete
Media deleted successfully
The response is of type object
.
curl --request DELETE \
--url https://server26-dot-royalti-project.uc.r.appspot.com/asset/{id}/media/{mediaName} \
--header 'Authorization: Bearer <token>'
{
"message": "Media deleted successfully"
}