Remove an agent pool from a team#

Request#

DELETE https://{hostname}:{port}
    /cli/agentPool/teams?{parameters}

Parameter Type Required Description
agentPool string true Name or ID of the agent pool
team string true Name or ID of the team
type string false Name of the type to use. Leave blank if you are using the type "Standard agent pool".

Example#

curl -k -u jsmith:passwd 

  "https://myserver.example.com:8443/cli/agentPool/teams?
  ?agentPool=myAgentPool&team=MyTeam" -X DELETE

Related CLI command: removeAgentPoolFromTeam.

Parent topic: agentPool resource