DELETE /api/propiedades/
Permanently delete a property from the database. This action cannot be undone. This endpoint requires admin authentication using HTTP Basic Auth.Request
The unique 6-character property identifier of the property to delete (e.g., “ZN1001”)
Response
Indicates whether the operation was successful
Human-readable message describing the result
Example Response
Success (200)Status Codes
Property deleted successfully
Authentication required or credentials invalid
Property with the specified ID does not exist
Notes
- This operation is permanent and cannot be undone
- The endpoint will return success (200) even if the property doesn’t exist (idempotent operation)
- Make sure to verify the property ID before deletion to avoid accidental data loss
- Consider implementing a “soft delete” pattern in production systems where records are marked as deleted rather than physically removed