I have a build agent that must be shared between humans and the build system because it has bespoke hardware attached. In the cases where people want to run interactively on the agent (for debugging mostly) I need the ability to tell bamboo that it cannot run jobs. It seems like the way to do this would be to disable the agent.
Is there a way to disable the agent either via REST or command line on the build server? I could also stop the build agent process; but that seems less desirable.