DELETE
/
asset
/
{id}
/
media
/
{mediaName}
Delete media for an asset
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"
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string<uuid>
required

The unique identifier of the asset

mediaName
string
required

The name of the media file to delete

Response

200
application/json

Media deleted successfully

The response is of type object.