Reboot agent through rest api


Is it possible to trigger a restart of an agent through rest api with the "Wait for current build to finish" enabled?

1 comment
Comment actions Permalink

Hello Jimmy,

There is no such REST API request. Please vote for the request 

What you probably refer to is a HTTP request sent to TeamCity server just like a browser sends when a user clicks related button in TeamCity UI. That is not part of documented "API" and can be used as a workaround. See the comment.


Please sign in to leave a comment.