@Path(OPERATION_REMOVEGROUP)
@Consumes(MediaType.APPLICATION_FORM_URLENCODED)
@RolesAllowed({ROLE_WRITE})
public Response operationRemoveGroup(MultivaluedMap<String, String> formParams) {
if (!getStore().exist(id)) {
return Response.status(Response.Status.NOT_FOUND).entity(new FeatureNotFoundException(id).getMessage()).build();
}
if (!formParams.containsKey(POST_PARAMNAME_GROUPNAME)) {
return Response.status(Response.Status.BAD_REQUEST)
.entity(POST_PARAMNAME_GROUPNAME + " is a required POST parameter")
.build();