Provides endpoints to list and remove capabilities from agents. Includes a Remove All call useful for automated recycling and upgrades.

 

Security

All operations on this page require valid Access Tokens see Access Token Operations for more information on creating tokens.

Only agent specific Capabilities are includes. Those defined as shared/server capabilities are ignored.

View Agent Capabilities 

reports the agents name, ID, build status and enabled/disabled state.

GET /rest/agents/1.0/{ID}/capabilities?uuid={tokenId}   
[
  {
    "key": "system.builder.command.ssh",
    "value": "ssh"
  },
  {
    "key": "system.builder.mvn3.Maven 3.4",
    "value": "/opt/tools/Maven3.4/bin/mvn"
  }
]

Delete Agent Capabilities 

Removes all agent specific capabilities from the bamboo definitions.  

DELETE /rest/agents/1.0/{agentId}/capabilities?uuid={tokenId}
[]