Skip to main content

getteamlist.do (Deprecated)

The getteamlist.do call returns a list of the user teams in your organization.

Before using this API, Veracode strongly recommends that you read API usage and access guidelines. Ensure you access the APIs with the domain for your region.

REST API equivalent

The REST API equivalent of this call is a GET to /api/authn/v2/teams using the Identity API. Veracode strongly recommends that you use the REST API for this action. For new integrations, always use the REST APIs.

Resource URL

https://analysiscenter.veracode.com/api/3.0/getteamlist.do

Permissions

An API service account requires the Admin API role to use this call. A user account requires the Administrator role to use this call.

Parameters

This call takes no parameters.

HTTPie example

Examples use the HTTPie command-line tool.

http --auth-type=veracode_hmac -o teamlist.xml "https://analysiscenter.veracode.com/api/3.0/getteamlist.do"

HTTPie results

The getteamlist.do call returns the teamlist XML document, which references the teamlist.xsd schema file. You can use the XSD schema file to validate the XML data.

<?xml version="1.0" encoding="UTF-8"?>

<teamlist xmlns:xsi="http&#x3a;&#x2f;&#x2f;www.w3.org&#x2f;2001&#x2f;XMLSchema-instance"
xmlns="https&#x3a;&#x2f;&#x2f;analysiscenter.veracode.com&#x2f;schema&#x2f;teamlist&#x2f;3.0"
xsi:schemaLocation="https&#x3a;&#x2f;&#x2f;analysiscenter.veracode.com&#x2f;schema&#x2f;teamlist&#x2f;3.0
https&#x3a;&#x2f;&#x2f;analysiscenter.veracode.com&#x2f;resource&#x2f;3.0&#x2f;teamlist.xsd" teamlist_version="3.0"
account_id="<account id>">
<team team_id="145696" team_name="Debug Team" creation_date="09&#x2f;06&#x2f;2019"/>
<team team_id="144659" team_name="Demo Team" creation_date="08&#x2f;13&#x2f;2019"/>
<team team_id="145690" team_name="Engineering" creation_date="09&#x2f;06&#x2f;2019"/>
<team team_id="145675" team_name="Quality Team" creation_date="09&#x2f;06&#x2f;2019"/>
<team team_id="145689" team_name="Release Team" creation_date="09&#x2f;06&#x2f;2019"/>
</teamlist>