Skip to main content

Revoke API credentials with the REST API

This use case scenario provides the Identity REST API request for revoking 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 the Identity API to generate new API credentials.

Send the following request to revoke the API credentials for a specific API ID:

http --auth-type=veracode_hmac --json DELETE "{apiCredsId}"

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