class BusinessObjectDefinitionTagRestController extends HerdBaseController {

    @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_TAGS_URI_PREFIX + "/namespaces/{namespace}" +
        "/businessObjectDefinitionNames/{businessObjectDefinitionName}" +
        "/tagTypes/{tagTypeCode}" +
        "/tagCodes/{tagCode}",
        method = RequestMethod.DELETE)
    @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_TAGS_DELETE)
    public BusinessObjectDefinitionTag deleteBusinessObjectDefinitionTag(@PathVariable("namespace") String namespace,
        @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("tagTypeCode") String tagTypeCode,
        @PathVariable("tagCode") String tagCode)
    {
        return businessObjectDefinitionTagService.deleteBusinessObjectDefinitionTag(
            new BusinessObjectDefinitionTagKey(new BusinessObjectDefinitionKey(namespace, businessObjectDefinitionName), new TagKey(tagTypeCode, tagCode)));
    }

}