class TagTypeRestController {

    @RequestMapping(value = TAG_TYPES_URI_PREFIX + "/{tagTypeCode}", method = RequestMethod.DELETE)
    @Secured(SecurityFunctions.FN_TAG_TYPES_DELETE)
    public TagType deleteTagType(@PathVariable("tagTypeCode") String tagTypeCode)
    {
        return tagTypeService.deleteTagType(new TagTypeKey(tagTypeCode));
    }

}