This API endpoint allows you to delete a specific product / content from the system using its
product_id. To remove a product, make a DELETE request to:
Notice: Make sure the product_id is an urlencode string.
DELETE /v1/products/{product_id}
Replace {product_id} with the unique identifier of the product / content you wish to delete.
The API will return a JSON object indicating the success or failure of the deletion request.
If the deletion is successful, the status_code will be 200, and the message field will
confirm the successful deletion.
{
"message": "deleted",
"data": [
{
"task_id": "{task_id}"
}
]
}
To check the exact response body of this task_id, make a GET request to the following endpoint:
GET /v1/products/_status/{task_id}
Replace {task_id} with the task_id returned from the response.
Your secret API key is used to access every Miso API endpoint. You should secure this key and only use it on a backend server. Never leave this key in your client-side JavaScript code. If the private key is compromised, you can revoke it in Dojo and get a new one.
Specify your secret key in the api_key query parameter. For example:
POST /v1/users?api_key=039c501ac8dfcac91c6f05601cee876e1cc07e17512