Product / Content Delete API
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.
Response Format
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.
Example Successful Deletion Response
{
"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.
Path parameters
Response
Successful Response
Example response
{
"message": "success"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.