curl --request DELETE \
--url https://api.example.com/api/clientes/:id{
"message": "<string>"
}Permanently delete a public client record
curl --request DELETE \
--url https://api.example.com/api/clientes/:id{
"message": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Bran258/api_centro_medico/llms.txt
Use this file to discover all available pages before exploring further.
curl -X DELETE http://localhost:3000/api/clientes/42
const response = await fetch('http://localhost:3000/api/clientes/42', {
method: 'DELETE'
});
const data = await response.json();
{
"message": "Cliente eliminado correctamente"
}
404 Not Found
{
"message": "Cliente no encontrado"
}
500 Internal Server Error
{
"message": "Error al eliminar cliente"
}
citas) associated with the clientcontacto) from the clienthistorial) linked to deleted appointments/home/daytona/workspace/source/src/routes/clientes.routes.js:95