Skip to main content

The call deletes the specified sandbox.

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/{applicationGuid}/sandboxes/{sandboxGuid} using the Development Sandbox API. Veracode strongly recommends that you use the REST API for this action. For new integrations, always use the REST APIs.

Resource URL

The call deletes a sandbox and its contents. You cannot undo the deletion.


An API service account requires the Upload and Scan role to use this call. A user account requires the Creator, Security Lead, or Sandbox Administrator role to use this call. If you have delete permission, you do not have to own the sandbox to delete it. If you are a team-restricted user, you can only delete sandboxes that your teams own.


IntegerID of the target sandbox.

HTTPie example

Examples use the HTTPie command-line tool.

http --auth-type=veracode_hmac "" "sandbox_id==1554802"

HTTPie results

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

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

<deletesandboxresult xmlns:xsi=""
account_id="28823" app_id="61230" sandbox_id="1554802">