deleteteam.do (Deprecated)

Veracode APIs

Publication
Veracode APIs
Edition date
2022-12-01
Last publication
2022-12-01T00:14:58.434817

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

Name Type Description
team_id
Required
Integer Team 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>