Most of the time in this situation, the API password is locked due to too many attempts to login to the API with the wrong credentials.
For the ASM Agent to retrieve data and insert metrics into APM, you must use the ASM Master Account API credentials.
To unlock your ASM API account, log into the Master Account on the ASM Web Portal.
To verify your API login is working, go to https://example.broadcom.com/1.6/acct_login?doc and enter the Master Account email address in the user field and the API password in the password field and click on exec.
If you need to change your API password, log into the ASM Web Portal as the Master Account and click on your user name in the top right hand corner and select Change Password. The second section is for the API password. There are 3 fields. First enter your ASM Web Portal password in the Current Password field. Then set your new API Password in the next field and retype it in the third field.
NOTE: If changing your API password, be sure to modify the ASM Agent password property in the ASM Properties file.