Skip to main content (Deprecated)

The call deletes a user account. To delete an API service account, you must use the Veracode Platform or the Identity REST API.

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/users/{userId} 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


An API service account requires the Admin API role to use this call. A user account requires the Administrator role to use this call.


StringRequired for non-SAML users. Usually the email address of the user.
StringRequired for SAML users. The SAML Subject field value from the user account.

HTTPie example

Examples use the HTTPie command-line tool.

http --auth-type=veracode_hmac -o deleteduserinfo.xml "" "[email protected]"

HTTPie results

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

In the return, the <filters .../> element lists the deleted usernames, while the <users .../> element lists the remaining users.

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

<deleteuserresult xmlns:xsi=""
xsi:schemaLocation="" userlist_version="3.0" username="username-99-1596061905076">