Viewing API Credentials Expiration with the Identity API

Veracode APIs

This use case scenario provides the Identity REST API commands for viewing the expiration date for Veracode API credentials.

Use this command to view the expiration date and time for your Veracode API credentials:
http --auth-type=veracode_hmac "https://api.veracode.com/api/authn/v2/api_credentials"
Use this command to view credentials expiration information for a specific API ID:
http --auth-type=veracode_hmac "https://api.veracode.com/api/authn/v2/api_credentials/{apiCredsId}"