KSC Open API
Kaspersky Security Center API description
ListTags::DeleteTags2 ( array  pTagValue,
params  pParams = NULL 
)

Delete tags.

Allows to delete multiple tag values in one method call

Parameters:
pTagValue(array) of paramString tags that will be deleted
pParamsreserved. (params)

See also Python code with use of KlAkOAPI Python package below:

        server = KlAkOAPI.AdmServer.KlAkAdmServer.Create("https://ksc.example.com:13299", "username", "password", verify = False)
        oTagsControl = KlAkOAPI.ListTags.KlAkListTags(server, 'HostsTags')
        # add a custom tag
        oTagsControl.AddTag("NewCustomTag", {})
        # delete custom tag
        oTagsControl.DeleteTags2(["NewCustomTag"], {})