Delete an application profile with the REST API
Send the following request to delete an application profile by its GUID.
A GUID is the numeric ID, separated with hyphens, for the target application profile. For example: 7336556f-9ef2-4a1c-b536-be8608822db6.
Before you begin
To authenticate with Veracode, ensure you have set up API authentication for HMAC or OAuth 2.0.
Veracode HMAC authentication
http --auth-type=veracode_hmac DELETE "https://api.veracode.com/appsec/v1/applications/{applicationGuid}"
OAuth 2.0 Client Credentials authentication
- Windows (PowerShell)
- macOS, Linux, or UNIX
http --auth-type=oauth2-client-credentials-flow `
--auth="$($env:VERACODE_CLIENT_ID):$($env:VERACODE_CLIENT_SECRET)" `
--token-endpoint="$($env:VERACODE_TOKEN_URL)" `
--token-request-type=basic DELETE "https://api.veracode.com/appsec/v1/applications/{applicationGuid}"
http --auth-type=oauth2-client-credentials-flow \
--auth="$VERACODE_CLIENT_ID:$VERACODE_CLIENT_SECRET" \
--token-endpoint="$VERACODE_TOKEN_URL" \
--token-request-type=basic DELETE "https://api.veracode.com/appsec/v1/applications/{applicationGuid}"