TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/devdavco/backend_1/llms.txt
Use this file to discover all available pages before exploring further.
DELETE /espacios/eliminar/{id} endpoint permanently removes a coworking space from the system. The service looks up the space by its integer id, deletes the entity from the database via JPA, and responds with a plain-text confirmation. This operation is irreversible — once a space is deleted it cannot be recovered through the API.
Path parameters
The integer primary key of the coworking space to delete. You can discover valid IDs by calling
GET /espacios/all or GET /espacios/{id}.Request
No request body or query parameters are required. No authentication headers are needed.Example request
Response
200 OK
On success the endpoint returns HTTP 200 OK with a plain-text body (not JSON):The confirmation message reads
"Reserva eliminada exitosamente" — this is the literal string returned by the controller’s ResponseEntity.ok(...) call, even though the deleted resource is a space (Espacio) rather than a reservation (Reserva). This is a known naming inconsistency in the current implementation.