code: @DELETE
      @Path("{agreementId}")
      @Produces(MediaType.APPLICATION_XML)
      public Response deleteAgreement(@PathParam("agreementId") String agreementId){
          logger.debug("DELETE /agreements/" + agreementId);
  
          AgreementHelper agreementRestService = getAgreementHelper();
          boolean deleted = agreementRestService.deleteByAgreementId(agreementId);
          if (deleted)
              return buildResponse(
                      204,
                      printMessage(204, "The agreement with id:" + agreementId
                              + " was deleted successfully"));
          else
              return buildResponse(
                      404,
                      printError(404, "There is no agreement with id "
                              + agreementId + " in the SLA Repository Database"));
          
      }
docs: Deletes an agreement, passing the corresponding agreement_id as
  parameter.
  
  
  <pre>
  DELETE /agreements/{agreement_id}
  
  Request:
  DELETE /agreements HTTP/1.1
  
  Response:
  HTTP/1.1 200 Ok
  Content-type: application/xml
  
  {@code
  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  <message code="201" message= "The agreement has been deleted successfully in the SLA Repository Database"/>
  }
  
  </pre>
  
  Example:
  <li>curl -X DELETE
  localhost:8080/sla-service/agreements/agreement04</li>
  
  @throws Exception