Skip to main content

Revoking API Credentials with the Identity API

This use case scenario provides the Identity REST API command for revoking Veracode API credentials. The credentials expire immediately after you revoke them. You can no longer use them to access Veracode.

You can use the Veracode Platform or Veracode Identity APIs to generate new API credentials.

Use this command to revoke the Veracode API credentials for a specific API ID:

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

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