Delete API credentials for an API user with the REST API
This use case scenario provides the Identity REST API request for deleting API credentials from an API service account.
Send the following request 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 request to send the Content-Type: application/json
in the HTTP header.