- User must be authenticated
- User must have appropriate permissions to modify the asset
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Path Parameters
Parameter | Type | In | Required | Description |
---|---|---|---|---|
id | string | path | ✅ | The unique identifier of the asset |
mediaName | string | path | ✅ | The name of the media file to delete |
Responses
✅ 200 - Media deleted successfully
⚠️ 400 - undefined
⚠️ 401 - undefined
⚠️ 404 - Not Found
❌ 500 - undefined
Tags
Asset
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
The unique identifier of the asset
The name of the media file to delete
Response
Media deleted successfully
Example:
"Media deleted successfully"