Skip to main content

Deleting API Credentials for an API User with the Identity API

This use case scenario provides the Identity REST API command for deleting Veracode API credentials from an API service account.

Use the following command to delete the API credentials from the API user you specify for userId:

http --auth-type=veracode_hmac --json DELETE "https://api.veracode.com/api/authn/v2/api_credentials/user_id/{userId}"

You must include the --json parameter to force the command to send the Content-Type: application/json in the HTTP header.