@DELETE @Path("external/{entityId}") public Response deleteExternalAnnotation(@PathParam("entityId") String entityId) { AnnotationService annotationService = Framework.getService(AnnotationService.class); annotationService.deleteExternalAnnotation(getContext().getCoreSession(), entityId); return Response.noContent().build(); }