class ApplicationResource {

    @DELETE
    @Consumes(MediaType.APPLICATION_JSON)
    @Timed
    @UserRequired
    @UnitOfWork
    @Path("{tenant}/{name}")
    @ApiOperation(value = "Delete application details from marathon and soft deletes the meta")
    public Response delete(@PathParam("tenant") final String tenant, @PathParam("name") final String computationName) {
        final String appName = applicationService.name(tenant, computationName);
        applicationService.delete(appName, tenant);
        return Response.ok().build();
    }

}