Skip to main content
DELETE
/
releases
/
{id}
/
media
/
{mediaId}
Delete Release Media
curl --request DELETE \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/releases/{id}/media/{mediaId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Media deleted successfully"
}

DELETE /releases//media/

This endpoint deletes a specific media file or link from a release. Only releases in ‘draft’ or ‘rejected’ status can have media deleted.

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Path Parameters

ParameterTypeInRequiredDescription
idstringpathRelease ID
mediaIdstringpathMedia ID (cloudId)

Responses

✅ 200 - Success

⚠️ 400 - undefined

⚠️ 401 - undefined

⚠️ 404 - undefined

❌ 500 - undefined

Tags

Release Media

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Release ID

mediaId
string
required

Media ID (cloudId)

Response

Success

success
boolean
Example:

true

message
string
Example:

"Media deleted successfully"

I