Unable to Login to BIGIQ

Hi

I am new to F5 and going through the documentation to access various features of BIGIQ. I am unable to login/authenticate to BIGIQ using the API.Can anyone please help, may be there is something I am missing.

I see you are using basic auth, which i’ve read as disabled by default. I would request you to go through this articles - K04452074: Overview of using the BIG-IQ system authentication token

Auth Token by Login

You have to do this by auth token,

curl -ks -X POST -d '{"username":"<ADMIN_USERID>", "password":"<ADMIN_PASSWORD>", "loginProviderName":"<LOGIN_PROVIDER_NAME>"}' https://<BIQ_IP>/mgmt/shared/authn/login