class SeyrenRepository {

    public boolean deleteAlarm(final String alarmId) {
        final ResponseEntity<String> response =
            restTemplate.exchange(seyrenUrl + API_ALARMS + "/" + alarmId, HttpMethod.DELETE, null, String.class);
        LOGGER.info("Delete alarm {}. Response {}", alarmId, response.getStatusCode());
        return response.getStatusCode().is2xxSuccessful();
    }

}