cURL
curl --request DELETE \ --url https://{defaultHost}/v1/product_medias/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "c8e780f3-5b38-44b3-979d-21147ecb6ac6", "object": "product_media", "deleted": true }
Deletes a specific product media.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success
The UUID of the specific object.
A string describing the object type returned.
Whether or not this object was succesfully deleted.
Was this page helpful?