v1

latestOpenAPI 3.0.22026-08-0426137631.3 KB
Product / Content APIs

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.

delete/v1/products/{product_id}

Path parameters

product_idstring required

Response

Successful Response

messagestring required

Human-readable message

Example response

{
  "message": "success"
}