Hi,
I'm trying to get Organization and view list of properties. But getting 401 error.
I'm using my apigee email and password with Basic authentication in Postman.
API GET : https://api.enterprise.apigee.com/v1/organizations/<my_org_name>
can someone help. TIA
Error Response below:
Note: Basic auth always returns 401 for user accounts that have MFA enabled.
https://docs.apigee.com/api-platform/system-administration/basic-auth
Or maybe you just mistyped your password.
To validate your password, login to the UI at https://login.apigee.com
If necessary, reset your password at https://login.apigee.com/reset
The error message is helpful.
MFA = Multi Factor Authentication.
You, or some system administrator o n your side, have enabled MFA for your Apigee Edge organization. https://docs.apigee.com/api-platform/system-administration/enable-two-factor-auth-your-apigee-accoun... That means your Basic Auth will no longer work. You need to use acurl or get_token to invoke the Apigee administrative API. https://docs.apigee.com/api-platform/system-administration/auth-tools If you use get_token, you'll pass the token as a Bearer token in the Authorization header. You will not pass your username and password.