Push tag to a server with API

Push tag to a server with API

Can someone point me to the right direction to add a tag to a server with API?