DELETE
/products/{id}
curl \
--request DELETE 'http://localhost:3000/api/v1/products/{id}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (401)
{
"message": "Product not found"
}
Response examples (404)
{
"message": "Product not found"
}
Response examples (500)
{
"message": "Product not found"
}