@DELETE
    public Response deleteContent(@PathParam("spaceID") String spaceID,
                                  @PathParam("contentID") String contentID,
                                  @QueryParam("storeID") String storeID) {
        StringBuilder msg = new StringBuilder("deleting content(");
        msg.append(spaceID);
        msg.append(", ");
        msg.append(contentID);
        msg.append(", ");
        msg.append(storeID);
        msg.append(")");

        try {
            contentResource.deleteContent(spaceID, contentID, storeID);
            String responseText = "Content " + contentID + " deleted successfully";
            return responseOk(msg.toString(), responseText);

        } catch (ResourceNotFoundException e) {
            return responseNotFound(msg.toString(), e, NOT_FOUND);

        } catch (ResourceException e) {
            return responseBad(msg.toString(), e, INTERNAL_SERVER_ERROR);

        } catch (Exception e) {
            return responseBad(msg.toString(), e, INTERNAL_SERVER_ERROR);
        }
    }
@ DELETE public Response deleteContent ( @ PathParam ( "spaceID" ) String spaceID , @ PathParam ( "contentID" ) String contentID , @ QueryParam ( "storeID" ) String storeID ) { StringBuilder msg = new StringBuilder ( "deleting content(" ) ; msg . append ( spaceID ) ; msg . append ( ", " ) ; msg . append ( contentID ) ; msg . append ( ", " ) ; msg . append ( storeID ) ; msg . append ( ")" ) ; try { contentResource . deleteContent ( spaceID , contentID , storeID ) ; String responseText = "Content " + contentID + " deleted successfully" ; return responseOk ( msg . toString ( ) , responseText ) ; } catch ( ResourceNotFoundException e ) { return responseNotFound ( msg . toString ( ) , e , NOT_FOUND ) ; } catch ( ResourceException e ) { return responseBad ( msg . toString ( ) , e , INTERNAL_SERVER_ERROR ) ; } catch ( Exception e ) { return responseBad ( msg . toString ( ) , e , INTERNAL_SERVER_ERROR ) ; } }
see ContentResource.removeContent()

@return 200 response indicating content removed successfully