Is there a way to disable/enable bamboo remote agents through a URL or REST API call or is clicking the "Disable" or "Enable" button through the web UI after logging on as an administrator the only way?
What I'm trying to get done is nightly auto-cleanup of the remote agents since they run out of disk space all the time. If we could use another automation mechanism to disable the bamboo remote agent (through some sort of terminal call), cleanup the build-dir directories (alongside with other non-bamboo directories which take up a lot of space) and then re-enable the remote agent after cleanup, it would make our lives a lot easier.\
Thanks