The delete endpoint permanently removes a product from the in-memory store using its numeric ID. The HTTP response status is 200, but theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/ricpalomino/spring-boot/llms.txt
Use this file to discover all available pages before exploring further.
responseCode field in the body is "204" to reflect the semantic of a successful deletion. Because the store is held in memory, all data is lost when the application restarts — deleted products cannot be recovered.
Path parameters
The numeric ID of the product to delete. Must correspond to an existing product in the store.
Request
Response fields
HTTP status code as a string. Returns
"204" on successful deletion.Human-readable message describing the result. Returns
"Producto eliminado correctamente" on success.Always
null for delete responses. No product data is returned after deletion.