class SeyrenRepository {

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

}