class TagTypeRestController {

    @RequestMapping(value = TAG_TYPES_URI_PREFIX + "/{tagTypeCode}", method = RequestMethod.PUT,
        consumes = {"application/xml", "application/json"})
    @Secured(SecurityFunctions.FN_TAG_TYPES_PUT)
    public TagType updateTagType(@PathVariable("tagTypeCode") String tagTypeCode, @RequestBody TagTypeUpdateRequest request)
    {
        return tagTypeService.updateTagType(new TagTypeKey(tagTypeCode), request);
    }

}