delete
https://api.duodeal.app/api/medias/
Permanently deletes a media file by its ID.
Warning: This will remove the file from storage. If the media is used by products, deals, quotations, or other entities, those references will be broken.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Media unique identifier |
Response
204 No Content: Media successfully deleted401 Unauthorized: Invalid or missing API key404 Not Found: Media not found
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
204Resource deleted
401Unauthorized
404Resource not found
