You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > Tags Class > Tags Methods > DeleteTagById
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Tags.DeleteTagById Method

Permanently deletes tag and all associations. Even deletes system tags so this should only be called if user has permission to delete system tags. If deleting tags used by a specific user, use DeleteTagsByUser

This method can be accessed through the Tags.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Community/Tags.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "DeleteTagById", Description = "Permanently deletes tag and all associations.  Even deletes system tags so this should only be called if user has permission to delete system tags. If deleting tags used by a specific user, use DeleteTagsByUser.")]
public bool DeleteTagById(long tagId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "DeleteTagById", Description = "Permanently deletes tag and all associations.  Even deletes system tags so this should only be called if user has permission to delete system tags. If deleting tags used by a specific user, use DeleteTagsByUser.")>
Public Function DeleteTagById(tagId As long) As bool
Parameters 
Description 
tagId 
ID of tag to be deleted. 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!