The
/product/{id}/media/{mediaName}
endpoint deletes a specific media file associated with a product.
Method:DELETE
Path Parameters:
Parameter | Type | Description |
---|---|---|
id | string | The unique identifier of the product. |
mediaName | string | The name of the media file to delete. |
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Path Parameters
Parameter | Type | In | Required | Description |
---|---|---|---|---|
id | string | path | ā | Product ID |
mediaName | string | path | ā | Media file name |
Responses
ā 200 - Success
ā ļø 401 - Unauthorized
ā ļø 404 - Not Found
ā 500 - Internal Server Error
Tags
Product
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Response
Success
The response is of type file
.