Skip to main content

deleteteam.do (Deprecated)

The deleteteam.do call deletes a specified team.

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 DELETE to /api/authn/v2/teams/{teamId} 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/deleteteam.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

NameTypeDescription
team_id
Required
IntegerTeam ID.

HTTPie example

Examples use the HTTPie command-line tool.

http --auth-type=veracode_hmac -o teamlist.xml "https://analysiscenter.veracode.com/api/3.0/deleteteam.do" "team_id==<team ID>"

HTTPie results

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

The return lists the remaining teams.

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

<deleteteamresult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://analysiscenter.veracode.com/schema/deleteteamresult"
xsi:schemaLocation="https://analysiscenter.veracode.com/schema/deleteteamresult
https://analysiscenter.veracode.com/resource/deleteteamresult.xsd" userlist_version="3.0" account_id="10023" team_id="10243">
<result>success</result>
</deleteteamresult>