This use case scenario provides the Identity REST API command for generating new Veracode API credentials.
Use this command to generate new Veracode API
credentials for your
account:
http --auth-type=veracode_hmac --json POST "https://api.veracode.com/api/authn/v2/api_credentials"
This command revokes your current API credentials and returns the API ID and API key for your new credentials.
Note: You must include the --json parameter to force
the command to send the Content-Type entity header
application/json.