Customer Self-Service Portal

Push tag to a server with API

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