I am not unable to apply Tag to Company using Rest API or XML-RPC API

I am not unable to apply Tag to Company using Rest API or XML-RPC API
Please provide any solution as soon as possible…

You cannot using REST but with the XML-RPC you can use the grpAssign method and use the company id in place of the contact id (companies are specialized contact records but using the company id works for apply tags with the xml-rpc)

Thanks John_Borelli