The deleteteam.do call deletes a specified team.
Before
using this API, Veracode strongly recommends that you read API Usage and Access
Guidelines.
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. See Using HTTPie with the Python Authentication Library.
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. See the deleteteamresult.xsd schema documentation.
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>