Skip to main content
DELETE
/
product
/
{id}
/
media
/
{mediaName}
Delete Product Media
curl --request DELETE \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/product/{id}/media/{mediaName} \
  --header 'Authorization: Bearer <token>'
This response does not have an example.
/product//media/ Description:
The /product/{id}/media/{mediaName} endpoint deletes a specific media file associated with a product.
Method:
DELETE
Path Parameters:
ParameterTypeDescription
idstringThe unique identifier of the product.
mediaNamestringThe name of the media file to delete.

Authentication

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

Path Parameters

ParameterTypeInRequiredDescription
idstringpathāœ…Product ID
mediaNamestringpathāœ…Media file name

Responses

āœ… 200 - Success

āš ļø 401 - Unauthorized

āš ļø 404 - Not Found

āŒ 500 - Internal Server Error

Tags

Product

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Product ID

mediaName
string
required

Media file name

Response

Success

The response is of type file.

⌘I