curl --request DELETE \
--url https://api.example.com/api/contacto/:id{
"message": "<string>",
"400 Bad Request": {},
"500 Internal Server Error": {}
}Delete a contact message from the system
curl --request DELETE \
--url https://api.example.com/api/contacto/:id{
"message": "<string>",
"400 Bad Request": {},
"500 Internal Server Error": {}
}{
"message": "ID inválido"
}
{
"message": "Error al eliminar mensaje"
}
curl -X DELETE https://api.example.com/api/contacto/78 \
-H "Content-Type: application/json"
{
"message": "Mensaje eliminado correctamente"
}