deleteapp.do

Veracode APIs

The deleteapp.do call deletes an existing application in the portfolio.

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 /appsec/v1/applications using the Applications 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/5.0/deleteapp.do

Parameters

Name Type Description
app_id
Required
Integer Application ID.

HTTPie Example

Examples use the HTTPie command-line tool.

http --auth-type=veracode_hmac "https://analysiscenter.veracode.com/api/5.0/deleteapp.do" "app_id==<application ID>"

HTTPie Results

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

The return lists the remaining applications after the successful deletion.

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

<deleteapp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns="https://analysiscenter.veracode.com/schema/deleteapp" 
xsi:schemaLocation="https://analysiscenter.veracode.com/schema/deleteapp 
https://analysiscenter.veracode.com/resource/deleteapp.xsd" account_id="18844">
  <result>success</result>
</deleteapp>