TestingAPIs is still being built. If something breaks, email support@testingapis.com.

Delete a product

DELETEhttps://api.testingapis.com/api/Products/{id}

Parameters 1

NameTypeDescription
idrequiredpath · integer (int32)Product ID.

Responses

200
Deleted.
404
The product does not exist.
500
Unexpected server error.

Example

Request
curl -X DELETE "https://api.testingapis.com/api/Products/21"
Response200 OK
{"message": "Product deleted successfully"}