Passing comments with REST


I haven't seen this posted in the forums, so figured I would throw this out to the community.

I am looking for a way to pass comments when teamcity agents get enabled/disabled remotely. In other words, when these agents get disabled, I wanted it to say something like 'Disabled by XYZ' during that process. I know there are a couple of posted examples that PUT the agent state using curl, vbscript, or powershell. Just looking to see if its even possible to add comments as well.

Thanks for any pointers.

Please sign in to leave a comment.