Delete media

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

ParameterTypeRequiredDescription
idintegerYesMedia unique identifier

Response

  • 204 No Content: Media successfully deleted
  • 401 Unauthorized: Invalid or missing API key
  • 404 Not Found: Media not found
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
Responses
204

Resource deleted

401

Unauthorized

404

Resource not found

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!